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.001369/0.001369, allocations: 79.73 kB / 21.25 MB, free: 0.5391 MB / 14.72 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.00155/0.00155, allocations: 161.1 kB / 24.5 MB, free: 3.715 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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=999,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=999,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 0.002696/0.002696, allocations: 62.09 kB / 325.6 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1346, allocations: 53.39 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004384/0.139, allocations: 2.556 MB / 381.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1404, allocations: 0.6428 MB / 382.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1405, allocations: 4 kB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.1407, allocations: 51.5 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1409, allocations: 91.19 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1411, allocations: 67.91 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.1415, allocations: 346.5 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.1417, allocations: 78 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.142, allocations: 147.4 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1422, allocations: 119.4 kB / 383 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.1423, allocations: 28 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.1423, allocations: 28 kB / 383.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.1424, allocations: 71.69 kB / 383.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1426, allocations: 119.5 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.143, allocations: 322.7 kB / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.143, allocations: 0 / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.143, allocations: 0 / 383.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.143, allocations: 4 kB / 383.6 MB, free: 10.77 MB / 350.1 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.0009835/0.144, allocations: 0.517 MB / 384.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.144, allocations: 15.98 kB / 384.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.1441, allocations: 32.75 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1445, allocations: 207.4 kB / 384.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.1446, allocations: 17.03 kB / 384.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.1446, allocations: 24.38 kB / 384.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.1451, allocations: 353.2 kB / 384.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1451, allocations: 0 / 384.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.1451, allocations: 12 kB / 384.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1451, allocations: 7.938 kB / 384.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1454, allocations: 186.5 kB / 385 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.1469, allocations: 0.8025 MB / 385.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.1474, allocations: 162.5 kB / 385.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.1477, allocations: 128.8 kB / 386 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1478, allocations: 0 / 386 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1478, allocations: 34.56 kB / 386.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.083e-06/0.1478, allocations: 0 / 386.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001224/0.149, allocations: 362.3 kB / 386.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1491, allocations: 55.41 kB / 386.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1493, allocations: 218.8 kB / 386.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1494, allocations: 29.7 kB / 386.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1495, allocations: 188.4 kB / 386.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.1496, allocations: 75.38 kB / 387 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.1497, allocations: 45.7 kB / 387 MB, free: 7.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1499, allocations: 334.8 kB / 387.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.15, allocations: 55.97 kB / 387.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1501, allocations: 106 kB / 387.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1504, allocations: 178.5 kB / 387.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1504, allocations: 0 / 387.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005716/0.151, allocations: 294 kB / 388 MB, free: 6.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.151, allocations: 4 kB / 388 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.151, allocations: 4 kB / 388 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.1514, allocations: 80.97 kB / 388.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.1516, allocations: 51.92 kB / 388.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.154, allocations: 1.76 MB / 389.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1541, allocations: 23.84 kB / 389.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1542, allocations: 12 kB / 389.9 MB, free: 4.082 MB / 350.1 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 0.0001587/0.1543, allocations: 149.6 kB / 390.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.1544, allocations: 19.92 kB / 390.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.1544, allocations: 30.06 kB / 390.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1544, allocations: 0 / 390.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1544, allocations: 4 kB / 390.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1544, allocations: 3.984 kB / 390.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.1553, allocations: 0.5212 MB / 390.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1553, allocations: 3.938 kB / 390.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1555, allocations: 39.91 kB / 390.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.1558, allocations: 76.72 kB / 390.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1558, allocations: 4 kB / 390.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.1579, allocations: 1.776 MB / 392.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1579, allocations: 3.938 kB / 392.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.1585, allocations: 384.1 kB / 392.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1586, allocations: 27.81 kB / 392.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1586, allocations: 4 kB / 392.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1588, allocations: 19.98 kB / 393 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.1589, allocations: 11.97 kB / 393 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1589, allocations: 12 kB / 393 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.1591, allocations: 152.6 kB / 393.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1591, allocations: 4.062 kB / 393.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005297/0.1596, allocations: 79.84 kB / 393.2 MB, free: 0.5898 MB / 350.1 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 0.0002093/0.1598, allocations: 111.1 kB / 393.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.1604, allocations: 274.5 kB / 393.6 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1604, allocations: 0 / 393.6 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.1607, allocations: 213.9 kB / 393.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1611, allocations: 31.11 kB / 393.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1624, allocations: 0.5937 MB / 394.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1626, allocations: 146.9 kB / 394.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.801e-05/0.1627, allocations: 21.95 kB / 394.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.1627, allocations: 20.5 kB / 394.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1627, allocations: 0 / 394.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Templates: time 0.0074/0.1701, allocations: 2.923 MB / 397.5 MB, free: 12.24 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.524563592975028]