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.001363/0.001363, allocations: 73.95 kB / 21.24 MB, free: 0.5547 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.001343/0.001343, allocations: 152.3 kB / 24.49 MB, free: 3.723 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.402/1.402, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.00163/0.00163, allocations: 48.19 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09593, allocations: 52.18 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004304/0.1002, allocations: 2.509 MB / 374.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1017, allocations: 0.6465 MB / 374.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.1019, allocations: 4 kB / 374.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1021, allocations: 51.5 kB / 374.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1024, allocations: 91.25 kB / 374.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.1027, allocations: 91.81 kB / 375 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.1031, allocations: 334.5 kB / 375.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.1033, allocations: 81.98 kB / 375.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1035, allocations: 135.5 kB / 375.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1037, allocations: 123.4 kB / 375.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.1038, allocations: 28 kB / 375.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.1038, allocations: 28 kB / 375.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.1039, allocations: 67.7 kB / 375.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.104, allocations: 115.5 kB / 375.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1044, allocations: 318.7 kB / 376.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1044, allocations: 0 / 376.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1044, allocations: 0 / 376.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1044, allocations: 4 kB / 376.2 MB, free: 2.703 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.0009759/0.1054, allocations: 0.517 MB / 376.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1054, allocations: 16.92 kB / 376.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.1055, allocations: 28.75 kB / 376.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.1059, allocations: 210 kB / 377 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1059, allocations: 16.88 kB / 377 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.1059, allocations: 24.38 kB / 377 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.1065, allocations: 356.2 kB / 377.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1065, allocations: 3.938 kB / 377.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.1066, allocations: 16 kB / 377.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1066, allocations: 4 kB / 377.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.107, allocations: 205.8 kB / 377.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1085, allocations: 0.8528 MB / 378.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.109, allocations: 178.5 kB / 378.6 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.1094, allocations: 144.8 kB / 378.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1094, allocations: 48 / 378.8 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1094, allocations: 46.56 kB / 378.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.1095, allocations: 0 / 378.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001694/0.1111, allocations: 494.2 kB / 379.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1112, allocations: 63.28 kB / 379.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1114, allocations: 219 kB / 379.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1114, allocations: 29.7 kB / 379.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1116, allocations: 188.1 kB / 379.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.1116, allocations: 63.47 kB / 379.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.1117, allocations: 45.67 kB / 379.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1118, allocations: 330.8 kB / 380.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.112, allocations: 71.97 kB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1122, allocations: 130.8 kB / 380.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.1126, allocations: 206.7 kB / 380.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1126, allocations: 0 / 380.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008501/0.1135, allocations: 345.3 kB / 380.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1135, allocations: 8.047 kB / 381 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1135, allocations: 8 kB / 381 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.1138, allocations: 72.81 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.114, allocations: 51.91 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.1169, allocations: 1.875 MB / 383 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1171, allocations: 31.78 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1171, allocations: 8.125 kB / 383 MB, free: 11.53 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.0001292/0.1172, allocations: 145.7 kB / 383.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.1173, allocations: 19.91 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1173, allocations: 21.81 kB / 383.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1173, allocations: 8.062 kB / 383.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1173, allocations: 0 / 383.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.1173, allocations: 3.984 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1185, allocations: 0.5634 MB / 383.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1185, allocations: 0 / 383.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1186, allocations: 31.92 kB / 383.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.1189, allocations: 76.8 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1189, allocations: 7.938 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.1214, allocations: 1.774 MB / 385.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1214, allocations: 8.094 kB / 385.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.1223, allocations: 459.9 kB / 386.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1223, allocations: 23.86 kB / 386.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1224, allocations: 8 kB / 386.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1226, allocations: 19.98 kB / 386.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.1226, allocations: 7.984 kB / 386.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1226, allocations: 12.06 kB / 386.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1228, allocations: 156.6 kB / 386.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1228, allocations: 0 / 386.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.1232, allocations: 75.84 kB / 386.4 MB, free: 7.961 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.0001252/0.1233, allocations: 107.1 kB / 386.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009249/0.1242, allocations: 357.6 kB / 386.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1242, allocations: 4.062 kB / 386.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1245, allocations: 210.4 kB / 387.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1249, allocations: 35.92 kB / 387.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1273, allocations: 0.8663 MB / 388 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.1275, allocations: 142.2 kB / 388.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.215e-05/0.1275, allocations: 17.94 kB / 388.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.1276, allocations: 20.5 kB / 388.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1276, allocations: 4 kB / 388.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of Templates: time 0.006834/0.1344, allocations: 2.682 MB / 390.8 MB, free: 3.488 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.339162265066989]