Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.001003/0.001003, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001333/0.001333, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 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.042/1.042, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 274.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.795e-05, allocations: 2.312 kB / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002712/0.00273, allocations: 2.712 MB / 276.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.003668, allocations: 0.6655 MB / 277.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.003782, allocations: 5.5 kB / 277.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003903, allocations: 51.44 kB / 277.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.004046, allocations: 95.98 kB / 277.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.004189, allocations: 80.48 kB / 277.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.004432, allocations: 348.7 kB / 278.1 MB, free: 288 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.004573, allocations: 74.05 kB / 278.2 MB, free: 212 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.004813, allocations: 203.5 kB / 278.4 MB, free: 8 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.004949, allocations: 103.6 kB / 278.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.004979, allocations: 28 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.005005, allocations: 31.94 kB / 278.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.005041, allocations: 67.75 kB / 278.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.005111, allocations: 103.8 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005303, allocations: 215.2 kB / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.005305, allocations: 0 / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005305, allocations: 0 / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00531, allocations: 0 / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005345/0.005844, allocations: 0.6169 MB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.005871, allocations: 8.031 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.005932, allocations: 60.7 kB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006125, allocations: 204.9 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.006141, allocations: 21.03 kB / 279.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.006172, allocations: 28.38 kB / 279.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.006385, allocations: 269.5 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.006394, allocations: 192 / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.006411, allocations: 12.38 kB / 280.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.00642, allocations: 11.94 kB / 280.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.006513, allocations: 80.52 kB / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.007372, allocations: 0.7867 MB / 281 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.007549, allocations: 134.9 kB / 281.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.007701, allocations: 107.6 kB / 281.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.007715, allocations: 4 kB / 281.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.007768, allocations: 45.39 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.007769, allocations: 0 / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004888/0.008258, allocations: 271.2 kB / 281.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.008278, allocations: 55.36 kB / 281.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.008402, allocations: 265.5 kB / 281.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.008417, allocations: 25.7 kB / 281.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.008497, allocations: 235.2 kB / 282.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.008595, allocations: 71.38 kB / 282.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.008645, allocations: 55.34 kB / 282.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.00875, allocations: 0.5078 MB / 282.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.008781, allocations: 19.98 kB / 282.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.008844, allocations: 109.7 kB / 282.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.00895, allocations: 143.5 kB / 283 MB, free: 11.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.008952, allocations: 0 / 283 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002493/0.009202, allocations: 229.7 kB / 283.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.009212, allocations: 4 kB / 283.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.009216, allocations: 0 / 283.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.009438, allocations: 83.73 kB / 283.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.009535, allocations: 43.98 kB / 283.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.01075, allocations: 2.205 MB / 285.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.01083, allocations: 27.78 kB / 285.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01084, allocations: 12 kB / 285.6 MB, free: 8.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 8.045e-05/0.01092, allocations: 168.5 kB / 285.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.01096, allocations: 27.86 kB / 285.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.01098, allocations: 33.83 kB / 285.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01098, allocations: 3.938 kB / 285.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01099, allocations: 0 / 285.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01099, allocations: 0 / 285.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.01142, allocations: 491.9 kB / 286.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01142, allocations: 0 / 286.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.0115, allocations: 35.92 kB / 286.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.01168, allocations: 83.53 kB / 286.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.01169, allocations: 4 kB / 286.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.0129, allocations: 2.167 MB / 288.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0129, allocations: 3.938 kB / 288.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.01317, allocations: 359.2 kB / 289 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.01319, allocations: 19.84 kB / 289 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.0132, allocations: 4 kB / 289 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.01329, allocations: 27.98 kB / 289 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.01333, allocations: 11.97 kB / 289 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.01333, allocations: 11.98 kB / 289 MB, free: 4.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.0134, allocations: 176.5 kB / 289.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0134, allocations: 0 / 289.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.01367, allocations: 79.84 kB / 289.3 MB, free: 4.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 7.931e-05/0.01375, allocations: 99.25 kB / 289.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.01403, allocations: 312.7 kB / 289.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01403, allocations: 0 / 289.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.01417, allocations: 263.4 kB / 290 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.0144, allocations: 36.47 kB / 290 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.01511, allocations: 0.526 MB / 290.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.01516, allocations: 84.31 kB / 290.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.01521, allocations: 25.94 kB / 290.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01532, allocations: 114.2 kB / 290.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01532, allocations: 0 / 290.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of Templates: time 0.005007/0.02032, allocations: 3.24 MB / 294 MB, free: 15.74 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9059997759759426]