Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 110.7 kB / 17.73 MB, free: 5.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 190.8 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 222.9 MB / 246.4 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 55.91 kB / 358 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1331, allocations: 49.45 MB / 407.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004423/0.1375, allocations: 2.695 MB / 410.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1389, allocations: 0.6622 MB / 410.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1391, allocations: 11.94 kB / 410.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1393, allocations: 47.56 kB / 410.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1395, allocations: 87.25 kB / 411 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1398, allocations: 87.81 kB / 411.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.1402, allocations: 342.5 kB / 411.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.1405, allocations: 105.7 kB / 411.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.1407, allocations: 127.5 kB / 411.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.141, allocations: 139.4 kB / 411.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.141, allocations: 32 kB / 411.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.1411, allocations: 28 kB / 411.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.1412, allocations: 67.7 kB / 411.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1414, allocations: 139.3 kB / 412 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.1418, allocations: 322.6 kB / 412.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1418, allocations: 0 / 412.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1418, allocations: 0 / 412.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1418, allocations: 0 / 412.3 MB, free: 1.969 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001125/0.143, allocations: 0.5962 MB / 412.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.143, allocations: 12.03 kB / 412.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.1431, allocations: 36.73 kB / 413 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.1436, allocations: 268.4 kB / 413.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1436, allocations: 16.94 kB / 413.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.1437, allocations: 24.38 kB / 413.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.1442, allocations: 283.9 kB / 413.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1443, allocations: 0 / 413.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.1443, allocations: 12 kB / 413.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1443, allocations: 8 kB / 413.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.1448, allocations: 206.1 kB / 413.8 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1465, allocations: 1.015 MB / 414.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.147, allocations: 182.5 kB / 415 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.1474, allocations: 156.8 kB / 415.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1475, allocations: 4.312 kB / 415.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1475, allocations: 38.5 kB / 415.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.1475, allocations: 0 / 415.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001814/0.1493, allocations: 0.556 MB / 415.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1494, allocations: 59.41 kB / 415.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1496, allocations: 236.9 kB / 416 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1497, allocations: 29.7 kB / 416 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1498, allocations: 180.2 kB / 416.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.1499, allocations: 63.44 kB / 416.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.15, allocations: 45.7 kB / 416.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1501, allocations: 330.8 kB / 416.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1503, allocations: 71.97 kB / 416.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1506, allocations: 134.8 kB / 416.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.151, allocations: 207.9 kB / 417 MB, free: 12.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.151, allocations: 0 / 417 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000841/0.1518, allocations: 355.6 kB / 417.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1519, allocations: 7.984 kB / 417.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1519, allocations: 4 kB / 417.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.1523, allocations: 72.88 kB / 417.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1525, allocations: 55.91 kB / 417.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.1557, allocations: 2.017 MB / 419.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1559, allocations: 27.78 kB / 419.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1559, allocations: 8 kB / 419.6 MB, free: 10.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.1561, allocations: 157.7 kB / 419.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.1562, allocations: 23.86 kB / 419.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.1563, allocations: 22.19 kB / 419.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1563, allocations: 3.938 kB / 419.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1563, allocations: 4 kB / 419.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1563, allocations: 3.984 kB / 419.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1576, allocations: 0.6513 MB / 420.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1576, allocations: 0 / 420.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1577, allocations: 31.92 kB / 420.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.158, allocations: 76.8 kB / 420.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1581, allocations: 4 kB / 420.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.1607, allocations: 1.92 MB / 422.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1607, allocations: 0 / 422.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.1616, allocations: 466 kB / 422.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.1617, allocations: 100.9 kB / 423 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1618, allocations: 8.094 kB / 423 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.162, allocations: 15.98 kB / 423.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.162, allocations: 19.91 kB / 423.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.162, allocations: 4 kB / 423.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1622, allocations: 176.4 kB / 423.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1622, allocations: 4.062 kB / 423.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004403/0.1627, allocations: 67.89 kB / 423.3 MB, free: 6.262 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.1629, allocations: 109.4 kB / 423.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009953/0.1639, allocations: 367.2 kB / 423.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.1639, allocations: 4.312 kB / 423.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.1643, allocations: 214.6 kB / 424 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.1648, allocations: 32.66 kB / 424 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.1673, allocations: 0.8625 MB / 424.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1678, allocations: 0.7597 MB / 425.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.1679, allocations: 17.95 kB / 425.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.168, allocations: 19.44 kB / 425.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.168, allocations: 0 / 425.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of Templates: time 0.008082/0.1761, allocations: 2.935 MB / 428.6 MB, free: 0.8867 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.347602286376059]