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.001881/0.001881, allocations: 119.4 kB / 18.41 MB, free: 4.637 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.002292/0.002292, allocations: 192.3 kB / 21.35 MB, free: 1.699 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.439/1.439, allocations: 222.9 MB / 247 MB, free: 4.336 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.001574/0.001574, allocations: 51.92 kB / 358.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1003, allocations: 49.43 MB / 408.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003997/0.1043, allocations: 2.695 MB / 410.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1057, allocations: 0.666 MB / 411.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1059, allocations: 8 kB / 411.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.1061, allocations: 55.5 kB / 411.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1063, allocations: 83.25 kB / 411.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1066, allocations: 91.81 kB / 411.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.107, allocations: 326.6 kB / 412.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.1072, allocations: 117.6 kB / 412.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1074, allocations: 123.6 kB / 412.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1076, allocations: 139.3 kB / 412.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.1077, allocations: 32 kB / 412.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.408e-05/0.1078, allocations: 28 kB / 412.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.1078, allocations: 63.75 kB / 412.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.108, allocations: 143.3 kB / 412.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.1084, allocations: 314.7 kB / 413 MB, free: 2.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1084, allocations: 8 kB / 413 MB, free: 2.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1084, allocations: 0 / 413 MB, free: 2.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1084, allocations: 0 / 413 MB, free: 2.031 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.001357/0.1098, allocations: 0.5941 MB / 413.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1099, allocations: 12.03 kB / 413.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.1099, allocations: 36.73 kB / 413.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.1104, allocations: 268.3 kB / 413.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.1105, allocations: 20.94 kB / 413.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.1105, allocations: 24.38 kB / 414 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.1111, allocations: 279.9 kB / 414.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1111, allocations: 0 / 414.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1111, allocations: 16 kB / 414.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1112, allocations: 4 kB / 414.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.1116, allocations: 210.1 kB / 414.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1134, allocations: 1.012 MB / 415.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.1139, allocations: 186.4 kB / 415.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.1144, allocations: 160.8 kB / 415.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1144, allocations: 320 / 415.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1145, allocations: 34.56 kB / 415.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.1145, allocations: 0 / 415.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001814/0.1163, allocations: 0.5558 MB / 416.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1164, allocations: 59.41 kB / 416.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.1166, allocations: 229 kB / 416.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1167, allocations: 33.7 kB / 416.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1168, allocations: 180.1 kB / 416.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.1169, allocations: 63.44 kB / 416.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.1171, allocations: 45.7 kB / 417 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1172, allocations: 330.8 kB / 417.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1175, allocations: 71.97 kB / 417.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.1177, allocations: 142.7 kB / 417.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1181, allocations: 205.1 kB / 417.7 MB, free: 13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1181, allocations: 7.938 kB / 417.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009432/0.1191, allocations: 350.1 kB / 418.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1191, allocations: 11.98 kB / 418.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1191, allocations: 0 / 418.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.1195, allocations: 76.88 kB / 418.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1197, allocations: 55.91 kB / 418.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.123, allocations: 2.009 MB / 420.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.1232, allocations: 31.78 kB / 420.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1232, allocations: 12.06 kB / 420.3 MB, free: 10.3 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.0001691/0.1234, allocations: 152.8 kB / 420.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.1235, allocations: 23.86 kB / 420.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.1235, allocations: 22.19 kB / 420.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1235, allocations: 4 kB / 420.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1236, allocations: 0 / 420.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1236, allocations: 3.984 kB / 420.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1248, allocations: 0.6552 MB / 421.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1249, allocations: 0 / 421.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.125, allocations: 31.98 kB / 421.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.1253, allocations: 88.73 kB / 421.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1254, allocations: 8 kB / 421.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.1283, allocations: 1.912 MB / 423.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.1283, allocations: 3.984 kB / 423.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1293, allocations: 462 kB / 423.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.1295, allocations: 104.9 kB / 423.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1295, allocations: 4 kB / 423.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1297, allocations: 19.98 kB / 423.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1297, allocations: 7.984 kB / 423.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1298, allocations: 8 kB / 423.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.13, allocations: 176.5 kB / 423.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.13, allocations: 0 / 423.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.1304, allocations: 75.89 kB / 424 MB, free: 6.32 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.0001584/0.1306, allocations: 99.25 kB / 424.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1318, allocations: 374.4 kB / 424.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1318, allocations: 4.312 kB / 424.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.1321, allocations: 206.6 kB / 424.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1325, allocations: 49.42 kB / 424.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.1351, allocations: 0.894 MB / 425.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1355, allocations: 0.7597 MB / 426.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.1356, allocations: 19.44 kB / 426.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1356, allocations: 0 / 426.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Templates: time 0.007968/0.1436, allocations: 3.738 MB / 430.1 MB, free: 96 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.928572215954773]