Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.732e-05, allocations: 2.312 kB / 272.4 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00462/0.004648, allocations: 2.529 MB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.006245, allocations: 0.6738 MB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.006467, allocations: 11.94 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.006663, allocations: 43.58 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.006931, allocations: 99.11 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.007229, allocations: 87.88 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.00769, allocations: 346.3 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.007884, allocations: 78.05 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.008247, allocations: 203.5 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.008429, allocations: 99.69 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.00848, allocations: 28 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.008531, allocations: 28 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.008601, allocations: 59.75 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.008734, allocations: 107.7 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.009156, allocations: 326.9 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.00916, allocations: 0 / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009161, allocations: 0 / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.009166, allocations: 0 / 277.1 MB, free: 13.04 MB / 266.7 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.001022/0.01019, allocations: 0.5169 MB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01022, allocations: 12.03 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.01035, allocations: 48.75 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.01074, allocations: 217.2 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.01077, allocations: 16.88 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.01082, allocations: 24.38 kB / 277.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.01144, allocations: 356.4 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01145, allocations: 192 / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.01148, allocations: 12.38 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.0115, allocations: 7.938 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.01199, allocations: 213.9 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.01368, allocations: 0.8567 MB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.0142, allocations: 182.5 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.01465, allocations: 148.7 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.01467, allocations: 0 / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.01496, allocations: 42.5 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.133e-06/0.01496, allocations: 4 kB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001835/0.0168, allocations: 487.7 kB / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01685, allocations: 55.41 kB / 280.2 MB, free: 9.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.01711, allocations: 223 kB / 280.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.01715, allocations: 29.7 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.01731, allocations: 188.1 kB / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.01737, allocations: 59.44 kB / 280.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.01746, allocations: 49.7 kB / 280.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.01764, allocations: 334.8 kB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.01784, allocations: 71.97 kB / 281.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.01808, allocations: 130.8 kB / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.0185, allocations: 201.7 kB / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.0185, allocations: 4 kB / 281.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009381/0.01944, allocations: 358 kB / 281.8 MB, free: 7.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01946, allocations: 11.94 kB / 281.9 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.01947, allocations: 3.984 kB / 281.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006738/0.02014, allocations: 136.8 kB / 282 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.02034, allocations: 51.92 kB / 282 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.02354, allocations: 1.864 MB / 283.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.02373, allocations: 35.77 kB / 283.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.02375, allocations: 12 kB / 283.9 MB, free: 5.766 MB / 266.7 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.0001506/0.0239, allocations: 129.8 kB / 284.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.02397, allocations: 35.8 kB / 284.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.02403, allocations: 25.8 kB / 284.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.02403, allocations: 64 / 284.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02403, allocations: 4 kB / 284.1 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.02404, allocations: 4 kB / 284.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.02524, allocations: 0.5619 MB / 284.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02525, allocations: 128 / 284.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.02541, allocations: 35.97 kB / 284.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.02597, allocations: 128.8 kB / 284.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.02599, allocations: 4 kB / 284.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.02869, allocations: 1.805 MB / 286.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02869, allocations: 0 / 286.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.03, allocations: 458.6 kB / 287.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.03005, allocations: 19.88 kB / 287.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.03008, allocations: 11.92 kB / 287.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.03029, allocations: 19.98 kB / 287.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.03031, allocations: 12.05 kB / 287.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.03033, allocations: 4.125 kB / 287.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.0305, allocations: 156.6 kB / 287.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0305, allocations: 4 kB / 287.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004671/0.03097, allocations: 75.84 kB / 287.4 MB, free: 2.125 MB / 266.7 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.0001505/0.03112, allocations: 99.25 kB / 287.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000965/0.03209, allocations: 370 kB / 287.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03209, allocations: 0 / 287.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.03245, allocations: 210.4 kB / 288.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.03278, allocations: 39.92 kB / 288.1 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.03517, allocations: 0.805 MB / 288.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.03533, allocations: 142.2 kB / 289.1 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.029e-05/0.03541, allocations: 21.92 kB / 289.1 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.03545, allocations: 20.5 kB / 289.1 MB, free: 368 kB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03545, allocations: 4 kB / 289.1 MB, free: 364 kB / 266.7 MB Notification: Performance of Templates: time 0.007101/0.04255, allocations: 2.695 MB / 291.8 MB, free: 13.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.435412529041059]