Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00247/0.00247, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002801/0.002801, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.344e-05, allocations: 2.312 kB / 272.3 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004633/0.004666, allocations: 2.704 MB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.006146, allocations: 0.6583 MB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.006295, allocations: 7.938 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.006502, allocations: 47.56 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.006728, allocations: 103.1 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.006967, allocations: 71.83 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.007439, allocations: 362.2 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.007661, allocations: 74.05 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.008099, allocations: 195.6 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.008325, allocations: 107.7 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.008383, allocations: 28 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.008443, allocations: 28 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.00852, allocations: 63.75 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.008667, allocations: 103.7 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.009158, allocations: 334.8 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.009163, allocations: 0 / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.009165, allocations: 4 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.009173, allocations: 0 / 277.1 MB, free: 12.85 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001166/0.01034, allocations: 0.6245 MB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.01039, allocations: 15.98 kB / 277.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.01051, allocations: 60.7 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.01092, allocations: 217.4 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.01094, allocations: 17.03 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.011, allocations: 28.38 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.01154, allocations: 337.5 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01155, allocations: 192 / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.01158, allocations: 12.38 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.0116, allocations: 11.94 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.01196, allocations: 170.5 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.01415, allocations: 0.9189 MB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.01457, allocations: 163.1 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.01495, allocations: 139.5 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.01498, allocations: 4 kB / 279.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.01503, allocations: 41.33 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.01503, allocations: 4 kB / 279.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001117/0.01615, allocations: 340.6 kB / 280.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.0162, allocations: 51.41 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.01656, allocations: 301.6 kB / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.01659, allocations: 29.64 kB / 280.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.01677, allocations: 235.2 kB / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.01685, allocations: 75.39 kB / 280.9 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.01696, allocations: 59.36 kB / 280.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002989/0.01725, allocations: 0.5079 MB / 281.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.01737, allocations: 55.98 kB / 281.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.01758, allocations: 137.8 kB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.01787, allocations: 197.6 kB / 281.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01788, allocations: 0 / 281.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005933/0.01847, allocations: 296.9 kB / 282.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.0185, allocations: 8 kB / 282.1 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01851, allocations: 0 / 282.1 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.01899, allocations: 87.77 kB / 282.2 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.0192, allocations: 51.91 kB / 282.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.02203, allocations: 2.361 MB / 284.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.02221, allocations: 23.84 kB / 284.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.02223, allocations: 8 kB / 284.6 MB, free: 4.875 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.02244, allocations: 188.5 kB / 284.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.02251, allocations: 31.8 kB / 284.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.02257, allocations: 25.8 kB / 284.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02257, allocations: 4 kB / 284.9 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.02258, allocations: 4.031 kB / 284.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02258, allocations: 0 / 284.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.02358, allocations: 0.5906 MB / 285.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02358, allocations: 4 kB / 285.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.02375, allocations: 31.92 kB / 285.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.02413, allocations: 87.61 kB / 285.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.02415, allocations: 0 / 285.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.02709, allocations: 2.358 MB / 287.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.02709, allocations: 0 / 287.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.0278, allocations: 443.2 kB / 288.4 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.02785, allocations: 19.84 kB / 288.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.02787, allocations: 0 / 288.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.02806, allocations: 27.98 kB / 288.4 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.02813, allocations: 19.97 kB / 288.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.02815, allocations: 4 kB / 288.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.02836, allocations: 208.4 kB / 288.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02836, allocations: 0 / 288.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.02883, allocations: 83.84 kB / 288.7 MB, free: 0.5586 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.02899, allocations: 99.25 kB / 288.8 MB, free: 464 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.02964, allocations: 371.3 kB / 289.2 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02964, allocations: 0 / 289.2 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.03001, allocations: 277.3 kB / 289.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.0304, allocations: 51.97 kB / 289.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.03152, allocations: 0.5382 MB / 290.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.03169, allocations: 142.9 kB / 290.2 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.243e-05/0.03177, allocations: 25.92 kB / 290.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.03183, allocations: 24.5 kB / 290.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03183, allocations: 0 / 290.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of Templates: time 0.008232/0.04006, allocations: 2.963 MB / 293.2 MB, free: 12.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.835712496074848]