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.0009459/0.0009459, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001016/0.001016, allocations: 144.1 kB / 24.89 MB, free: 8.785 MB / 18.57 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 0.9519/0.9519, allocations: 173.4 MB / 201.5 MB, free: 8.246 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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 1.512e-06/1.512e-06, allocations: 0 / 268.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.233e-05, allocations: 5.266 kB / 268.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002551/0.002573, allocations: 2.716 MB / 271.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.003464, allocations: 0.6739 MB / 272 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.003942, allocations: 11.94 kB / 272 MB, free: 6.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.004099, allocations: 48.28 kB / 272 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.004254, allocations: 94.19 kB / 272.1 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.004487, allocations: 91.81 kB / 272.2 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.004758, allocations: 350.3 kB / 272.5 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.004909, allocations: 80 kB / 272.6 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.005134, allocations: 196.5 kB / 272.8 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.005263, allocations: 107.7 kB / 272.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.005302, allocations: 24 kB / 272.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.005328, allocations: 28.5 kB / 273 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.005371, allocations: 63.75 kB / 273 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.005443, allocations: 103.8 kB / 273.1 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.005653, allocations: 215.2 kB / 273.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005655, allocations: 0 / 273.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005655, allocations: 0 / 273.3 MB, free: 4.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.005661, allocations: 0 / 273.3 MB, free: 4.957 MB / 250.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.0005597/0.006221, allocations: 500 kB / 273.8 MB, free: 4.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.006252, allocations: 8.031 kB / 273.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.006304, allocations: 40.91 kB / 273.9 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006496, allocations: 177.3 kB / 274 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.00651, allocations: 20.88 kB / 274.1 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.006542, allocations: 24.38 kB / 274.1 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.006791, allocations: 297.1 kB / 274.4 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.006803, allocations: 8.125 kB / 274.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.006818, allocations: 8.375 kB / 274.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.006827, allocations: 11.94 kB / 274.4 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.006907, allocations: 63.47 kB / 274.5 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.007628, allocations: 0.7086 MB / 275.2 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.007799, allocations: 112.5 kB / 275.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.007939, allocations: 100.8 kB / 275.4 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.007953, allocations: 7.984 kB / 275.4 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.007975, allocations: 42.55 kB / 275.4 MB, free: 2.715 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.007976, allocations: 0 / 275.4 MB, free: 2.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004691/0.008445, allocations: 262.5 kB / 275.7 MB, free: 2.449 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.008467, allocations: 59.34 kB / 275.8 MB, free: 2.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008574, allocations: 210.2 kB / 276 MB, free: 2.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.008586, allocations: 25.7 kB / 276 MB, free: 2.129 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.008647, allocations: 172.1 kB / 276.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.008677, allocations: 63.42 kB / 276.2 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.008725, allocations: 49.69 kB / 276.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.008801, allocations: 342.7 kB / 276.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.00883, allocations: 27.98 kB / 276.6 MB, free: 1.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.008888, allocations: 79.34 kB / 276.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.008984, allocations: 120.7 kB / 276.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.008987, allocations: 4 kB / 276.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002104/0.009198, allocations: 188.5 kB / 277 MB, free: 1.031 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.009208, allocations: 8 kB / 277 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.009212, allocations: 0 / 277 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.009415, allocations: 80.94 kB / 277.1 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.009554, allocations: 63.91 kB / 277.2 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008737/0.01043, allocations: 1.47 MB / 278.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.0105, allocations: 31.77 kB / 278.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.01051, allocations: 11.94 kB / 278.7 MB, free: 15.28 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 6.89e-05/0.01058, allocations: 125.8 kB / 278.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.01061, allocations: 15.98 kB / 278.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.01063, allocations: 25.8 kB / 278.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.01063, allocations: 0 / 278.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01063, allocations: 4 kB / 278.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01063, allocations: 0 / 278.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.01123, allocations: 365.5 kB / 279.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01123, allocations: 7.875 kB / 279.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.01134, allocations: 39.06 kB / 279.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.01148, allocations: 72.78 kB / 279.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.01149, allocations: 4 kB / 279.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/0.01219, allocations: 1.442 MB / 280.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01219, allocations: 0 / 280.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.01241, allocations: 280.1 kB / 281 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.01243, allocations: 19.86 kB / 281 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.01244, allocations: 0 / 281 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.01253, allocations: 19.98 kB / 281.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.01255, allocations: 19.91 kB / 281.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01255, allocations: 4 kB / 281.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.0126, allocations: 61.75 kB / 281.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.0126, allocations: 4 kB / 281.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.01283, allocations: 71.86 kB / 281.2 MB, free: 12.58 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 8.025e-05/0.01291, allocations: 88.41 kB / 281.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.0132, allocations: 265.3 kB / 281.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.01321, allocations: 12.06 kB / 281.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01332, allocations: 171.4 kB / 281.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.0135, allocations: 47.98 kB / 281.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.01444, allocations: 0.6416 MB / 282.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.01448, allocations: 84.31 kB / 282.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.921e-05/0.01453, allocations: 17.95 kB / 282.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.01462, allocations: 87.36 kB / 282.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01462, allocations: 0 / 282.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Templates: time 0.004368/0.01899, allocations: 2.989 MB / 285.6 MB, free: 8.16 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4779530530795455]