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.001032/0.001032, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.0009848/0.0009848, allocations: 171.6 kB / 24.91 MB, free: 9.203 MB / 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 0.9517/0.9517, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.954e-06/1.954e-06, allocations: 0 / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.598e-05, allocations: 6.312 kB / 273.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004526/0.004552, allocations: 2.74 MB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.006022, allocations: 0.7126 MB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.006184, allocations: 7.938 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.006359, allocations: 43.52 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.00659, allocations: 95.19 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.006884, allocations: 87.81 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.007276, allocations: 358.3 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.007469, allocations: 76 kB / 277.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.007849, allocations: 199.5 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.008023, allocations: 103.7 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.008072, allocations: 28 kB / 278 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.008117, allocations: 28 kB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.008175, allocations: 63.75 kB / 278.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.008281, allocations: 107.8 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.008557, allocations: 215.2 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.00856, allocations: 0 / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.008561, allocations: 0 / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.008567, allocations: 0 / 278.4 MB, free: 12.36 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.0007689/0.009335, allocations: 496 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.009373, allocations: 12.03 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.009446, allocations: 36.91 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.009707, allocations: 185.3 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.009728, allocations: 20.88 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.009774, allocations: 32.3 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.01014, allocations: 297.1 kB / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01016, allocations: 192 / 279.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.01018, allocations: 12.38 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.01019, allocations: 11.94 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.01032, allocations: 63.47 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.01142, allocations: 0.7047 MB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.01167, allocations: 114.5 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01189, allocations: 100.8 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.0119, allocations: 4 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.01193, allocations: 38.55 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.01193, allocations: 0 / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007232/0.01266, allocations: 276.3 kB / 280.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.01268, allocations: 55.41 kB / 280.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.01284, allocations: 210 kB / 281 MB, free: 9.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.01286, allocations: 25.7 kB / 281 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.01294, allocations: 172.1 kB / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.01299, allocations: 59.47 kB / 281.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.01306, allocations: 53.62 kB / 281.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.01316, allocations: 334.7 kB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.0132, allocations: 19.98 kB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.01329, allocations: 90.78 kB / 281.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01344, allocations: 129.7 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01344, allocations: 0 / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003384/0.01378, allocations: 194.2 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01379, allocations: 11.98 kB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.0138, allocations: 0 / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.01409, allocations: 72.94 kB / 282.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.0143, allocations: 59.91 kB / 282.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.01553, allocations: 1.477 MB / 283.7 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01565, allocations: 27.86 kB / 283.7 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.01567, allocations: 15.94 kB / 283.7 MB, free: 6.668 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 9.007e-05/0.01576, allocations: 121.8 kB / 283.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.0158, allocations: 15.98 kB / 283.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.01584, allocations: 25.8 kB / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01584, allocations: 0 / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01584, allocations: 0 / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01585, allocations: 0 / 283.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.01642, allocations: 373.9 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01642, allocations: 3.938 kB / 284.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.01658, allocations: 39.95 kB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.0168, allocations: 68.75 kB / 284.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01681, allocations: 4 kB / 284.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.01788, allocations: 1.446 MB / 285.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01789, allocations: 0 / 285.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.01824, allocations: 275.4 kB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.01827, allocations: 19.97 kB / 286.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01829, allocations: 0 / 286.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.01842, allocations: 19.98 kB / 286.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.01845, allocations: 11.97 kB / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01846, allocations: 8 kB / 286.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.01853, allocations: 54.17 kB / 286.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01853, allocations: 0 / 286.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003943/0.01892, allocations: 79.84 kB / 286.3 MB, free: 3.977 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.0001009/0.01902, allocations: 88.41 kB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.01945, allocations: 263.2 kB / 286.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.01946, allocations: 4.438 kB / 286.6 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.01963, allocations: 183.3 kB / 286.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.0199, allocations: 45.86 kB / 286.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.02131, allocations: 0.626 MB / 287.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.02137, allocations: 84.31 kB / 287.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.215e-05/0.02145, allocations: 21.94 kB / 287.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.02158, allocations: 83.36 kB / 287.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02158, allocations: 4 kB / 287.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of Templates: time 0.1146/0.1361, allocations: 2.995 MB / 290.6 MB, free: 25.89 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",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.637578130699694]