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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1998,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=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 109.5 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001015, allocations: 52.48 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1017, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003823/0.1056, allocations: 2.698 MB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1068, allocations: 0.6622 MB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.107, allocations: 4 kB / 354.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.1071, allocations: 43.58 kB / 354.9 MB, free: 268 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.1074, allocations: 91.17 kB / 355 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1076, allocations: 99.81 kB / 355.1 MB, free: 76 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.108, allocations: 342.3 kB / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1082, allocations: 121.6 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1084, allocations: 127.5 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.1086, allocations: 131.4 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.1086, allocations: 28 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.1087, allocations: 31.94 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.1087, allocations: 59.83 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1089, allocations: 147.2 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1092, allocations: 314.9 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1092, allocations: 0 / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1092, allocations: 7.938 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1092, allocations: 4 kB / 356.4 MB, free: 14.78 MB / 302.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.0009112/0.1101, allocations: 0.5809 MB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1102, allocations: 12.03 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.1102, allocations: 32.56 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1106, allocations: 264.3 kB / 357.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1106, allocations: 20.94 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.1107, allocations: 24.36 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.1112, allocations: 291.9 kB / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1112, allocations: 0 / 357.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1112, allocations: 12 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1113, allocations: 4 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.1117, allocations: 202.2 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1133, allocations: 1.003 MB / 358.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.1138, allocations: 190.5 kB / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.1142, allocations: 156.8 kB / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1142, allocations: 0 / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.1143, allocations: 42.55 kB / 359.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.1143, allocations: 0 / 359.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00176/0.116, allocations: 0.5539 MB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1161, allocations: 51.41 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.1164, allocations: 240.9 kB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1164, allocations: 25.7 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1165, allocations: 179.8 kB / 360.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.1166, allocations: 59.09 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.1167, allocations: 49.7 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1168, allocations: 326.8 kB / 360.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.117, allocations: 79.95 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1172, allocations: 123.3 kB / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.1175, allocations: 217.6 kB / 361.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1175, allocations: 4 kB / 361.1 MB, free: 9.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007786/0.1183, allocations: 350 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1184, allocations: 8 kB / 361.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1184, allocations: 0 / 361.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.1188, allocations: 88.8 kB / 361.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1189, allocations: 47.97 kB / 361.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.1217, allocations: 2.005 MB / 363.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.1219, allocations: 35.72 kB / 363.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1219, allocations: 11.98 kB / 363.6 MB, free: 7.082 MB / 302.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.000144/0.1221, allocations: 145.8 kB / 363.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1221, allocations: 15.81 kB / 363.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.1222, allocations: 30.11 kB / 363.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1222, allocations: 4 kB / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1222, allocations: 0 / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1222, allocations: 0 / 363.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1232, allocations: 0.6535 MB / 364.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1233, allocations: 4 kB / 364.5 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1234, allocations: 31.97 kB / 364.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.1237, allocations: 72.81 kB / 364.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1237, allocations: 7.984 kB / 364.6 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.126, allocations: 1.923 MB / 366.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.126, allocations: 0 / 366.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.1269, allocations: 455.8 kB / 366.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.1269, allocations: 100.9 kB / 367 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.127, allocations: 4 kB / 367 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1272, allocations: 15.98 kB / 367.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.1272, allocations: 19.92 kB / 367.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1272, allocations: 7.938 kB / 367.1 MB, free: 3.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.1274, allocations: 172.4 kB / 367.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1274, allocations: 4.062 kB / 367.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.1279, allocations: 79.75 kB / 367.3 MB, free: 3.121 MB / 302.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.0001454/0.128, allocations: 99.25 kB / 367.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.1289, allocations: 375.1 kB / 367.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1289, allocations: 320 / 367.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1293, allocations: 210.7 kB / 368 MB, free: 2.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1297, allocations: 40.58 kB / 368 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.132, allocations: 0.866 MB / 368.9 MB, free: 1.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1323, allocations: 0.748 MB / 369.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.908e-05/0.1324, allocations: 21.95 kB / 369.7 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.1325, allocations: 15.44 kB / 369.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1325, allocations: 0 / 369.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of Templates: time 0.1574/0.2899, allocations: 2.873 MB / 372.6 MB, free: 24.74 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches