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.001286/0.001286, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001532/0.001532, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.481/1.481, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 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=999,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=999,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 0.002019/0.002019, allocations: 67.89 kB / 379.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 53.41 MB / 432.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00442/0.2843, allocations: 2.765 MB / 435.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2858, allocations: 0.6856 MB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.2859, allocations: 7.938 kB / 435.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.2861, allocations: 51.5 kB / 436 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2863, allocations: 95.23 kB / 436.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2865, allocations: 75.84 kB / 436.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.2869, allocations: 334.5 kB / 436.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.2871, allocations: 81.97 kB / 436.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.2874, allocations: 139.5 kB / 436.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2877, allocations: 147.3 kB / 436.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.2877, allocations: 32 kB / 436.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.2878, allocations: 28 kB / 436.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.2878, allocations: 63.77 kB / 437 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.288, allocations: 147.2 kB / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.2884, allocations: 327.9 kB / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2884, allocations: 0 / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2884, allocations: 0 / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2884, allocations: 0 / 437.4 MB, free: 1.812 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009282/0.2894, allocations: 0.5054 MB / 437.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2894, allocations: 12.03 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.2895, allocations: 36.7 kB / 438 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.2899, allocations: 211.7 kB / 438.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2899, allocations: 21.03 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.29, allocations: 24.38 kB / 438.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.2904, allocations: 238.4 kB / 438.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2904, allocations: 0 / 438.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2904, allocations: 12 kB / 438.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2904, allocations: 4 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.2908, allocations: 186.5 kB / 438.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.2924, allocations: 0.9066 MB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2928, allocations: 158.5 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.2931, allocations: 128.8 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.2931, allocations: 0 / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.2932, allocations: 38.56 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.2932, allocations: 0 / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001162/0.2943, allocations: 369.1 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2944, allocations: 51.41 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.2946, allocations: 240.8 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2946, allocations: 29.7 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2948, allocations: 184.1 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.2948, allocations: 67.42 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.2949, allocations: 53.66 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2951, allocations: 334.8 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.2952, allocations: 51.98 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2953, allocations: 117.9 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2956, allocations: 174.5 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2956, allocations: 3.938 kB / 441.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005723/0.2962, allocations: 290 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2962, allocations: 10.84 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2962, allocations: 4 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.2965, allocations: 68.8 kB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.2967, allocations: 51.91 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.2993, allocations: 1.814 MB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2995, allocations: 27.83 kB / 443.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2995, allocations: 12 kB / 443.8 MB, free: 11.07 MB / 350.1 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.0001913/0.2997, allocations: 149.7 kB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.2997, allocations: 23.86 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.2998, allocations: 26.11 kB / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2998, allocations: 4 kB / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2998, allocations: 0 / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2998, allocations: 0 / 444 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.3008, allocations: 0.584 MB / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3008, allocations: 0 / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3009, allocations: 31.97 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.3012, allocations: 76.73 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3012, allocations: 4 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.3033, allocations: 1.802 MB / 446.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3033, allocations: 0 / 446.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.304, allocations: 402.4 kB / 446.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.304, allocations: 23.83 kB / 446.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.3041, allocations: 8 kB / 446.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3042, allocations: 19.98 kB / 446.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.3043, allocations: 23.91 kB / 447 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3043, allocations: 7.938 kB / 447 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.3045, allocations: 168.5 kB / 447.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3045, allocations: 4 kB / 447.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.305, allocations: 75.89 kB / 447.2 MB, free: 7.465 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: 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.0001565/0.3052, allocations: 107.2 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000625/0.3058, allocations: 282.4 kB / 447.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3058, allocations: 0 / 447.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.3061, allocations: 206.5 kB / 447.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3065, allocations: 49.2 kB / 447.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3078, allocations: 0.6227 MB / 448.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.3082, allocations: 0.7518 MB / 449.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.3083, allocations: 27.44 kB / 449.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3083, allocations: 0 / 449.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of Templates: time 0.006975/0.3153, allocations: 3.936 MB / 453.2 MB, free: 1.41 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/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: 7.3934795029927045]