Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002831/0.004149, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002005/0.003397, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.005/1.005, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09806/1.103, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.251e-05, allocations: 5.125 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003047/0.00307, allocations: 2.928 MB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.003935, allocations: 0.7321 MB / 248.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004053, allocations: 7.938 kB / 248.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.004155, allocations: 43.56 kB / 249 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.004295, allocations: 115.1 kB / 249.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.004462, allocations: 103.7 kB / 249.2 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.004792, allocations: 402.3 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.004969, allocations: 86.3 kB / 249.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.005343, allocations: 271.8 kB / 249.9 MB, free: 8.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005527, allocations: 135.6 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.005575, allocations: 36 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.62e-05/0.005631, allocations: 40 kB / 250.1 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.005699, allocations: 59.81 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.005818, allocations: 99.81 kB / 250.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.006105, allocations: 223.2 kB / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.006118, allocations: 0 / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006119, allocations: 0 / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.00613, allocations: 0 / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008401/0.00697, allocations: 0.6181 MB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.007018, allocations: 8.922 kB / 251.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.007093, allocations: 48.89 kB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.007322, allocations: 185.1 kB / 251.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.007342, allocations: 20.88 kB / 251.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.007386, allocations: 24.38 kB / 251.4 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.007647, allocations: 248.6 kB / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007657, allocations: 192 / 251.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.007673, allocations: 12.38 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007682, allocations: 11.94 kB / 251.7 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.00778, allocations: 63.47 kB / 251.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.008674, allocations: 0.7777 MB / 252.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.008886, allocations: 94.41 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.008923, allocations: 28.84 kB / 252.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.008944, allocations: 0 / 252.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.009126, allocations: 165.2 kB / 252.8 MB, free: 5.754 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 8.72e-07/0.009126, allocations: 0 / 252.8 MB, free: 5.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003854/0.009512, allocations: 181.5 kB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.009545, allocations: 63.33 kB / 253 MB, free: 5.496 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.009681, allocations: 232.9 kB / 253.2 MB, free: 5.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.009699, allocations: 29.7 kB / 253.3 MB, free: 5.223 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.009787, allocations: 180 kB / 253.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.00982, allocations: 51.58 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.009876, allocations: 53.92 kB / 253.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.009975, allocations: 338.7 kB / 253.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.01003, allocations: 49.92 kB / 253.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.795e-05/0.01013, allocations: 200.7 kB / 254.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01026, allocations: 170.9 kB / 254.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01026, allocations: 0 / 254.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002462/0.0105, allocations: 244.8 kB / 254.5 MB, free: 3.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.01055, allocations: 33.7 kB / 254.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01055, allocations: 0 / 254.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.01077, allocations: 72.97 kB / 254.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.01092, allocations: 55.91 kB / 254.7 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009102/0.01183, allocations: 1.266 MB / 256 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.01202, allocations: 43.86 kB / 256 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01203, allocations: 4 kB / 256 MB, free: 2.234 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.01215, allocations: 125.8 kB / 256.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.01219, allocations: 28.09 kB / 256.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.01223, allocations: 21.78 kB / 256.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01223, allocations: 3.984 kB / 256.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01224, allocations: 3.984 kB / 256.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01224, allocations: 0 / 256.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.01241, allocations: 149.7 kB / 256.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01241, allocations: 4 kB / 256.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.01256, allocations: 39.97 kB / 256.4 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.0126, allocations: 23.8 kB / 256.4 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.01278, allocations: 40.81 kB / 256.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.0128, allocations: 11.98 kB / 256.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007029/0.01351, allocations: 1.254 MB / 257.7 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01351, allocations: 192 / 257.7 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.01372, allocations: 173.8 kB / 257.9 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01374, allocations: 7.984 kB / 257.9 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.01382, allocations: 19.98 kB / 257.9 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.01387, allocations: 27.89 kB / 257.9 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.01388, allocations: 4.062 kB / 257.9 MB, free: 172 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.01394, allocations: 82.72 kB / 258 MB, free: 88 kB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01394, allocations: 0 / 258 MB, free: 88 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01412, allocations: 71.89 kB / 258.1 MB, free: 16 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.01424, allocations: 88.41 kB / 258.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.01452, allocations: 310.9 kB / 258.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.01453, allocations: 8.188 kB / 258.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01467, allocations: 173.9 kB / 258.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.01499, allocations: 497.1 kB / 259.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.01672, allocations: 0.5476 MB / 259.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.01679, allocations: 84.31 kB / 259.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.01686, allocations: 26.28 kB / 259.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.01698, allocations: 107.3 kB / 259.9 MB, free: 14 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01699, allocations: 0 / 259.9 MB, free: 14 MB / 266.7 MB Notification: Performance of Templates: time 0.00618/0.02317, allocations: 4.52 MB / 264.4 MB, free: 9.559 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6337941819801927]