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.001141/0.001141, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009784/0.0009784, allocations: 160.1 kB / 24.91 MB, free: 8.262 MB / 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 0.9739/0.9739, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.452e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002435/0.00245, allocations: 2.72 MB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008318/0.003282, allocations: 0.6813 MB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.003386, allocations: 11.94 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.003509, allocations: 47.56 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003646, allocations: 103.1 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.00379, allocations: 71.89 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.004067, allocations: 354.1 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.004203, allocations: 84 kB / 277.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.004442, allocations: 207.4 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004564, allocations: 103.7 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.004595, allocations: 28 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.571e-05/0.004621, allocations: 28 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.00466, allocations: 67.75 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.004729, allocations: 103.8 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.004921, allocations: 215.2 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.004923, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004924, allocations: 0 / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004927, allocations: 0 / 278.2 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0004886/0.005416, allocations: 496 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.005447, allocations: 15.98 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.005496, allocations: 40.91 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.005675, allocations: 190.1 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.005691, allocations: 24.97 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.005722, allocations: 24.38 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.005913, allocations: 273.5 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.00592, allocations: 192 / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.005936, allocations: 16.31 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005942, allocations: 7.938 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.215e-05/0.006024, allocations: 72.55 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.00674, allocations: 0.6351 MB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.006912, allocations: 121.1 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.007056, allocations: 108.8 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.007071, allocations: 4 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.007091, allocations: 30.56 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.007092, allocations: 0 / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004389/0.007531, allocations: 241.8 kB / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.007553, allocations: 55.36 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.007657, allocations: 206.3 kB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007672, allocations: 29.7 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.007734, allocations: 176.5 kB / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.00777, allocations: 75.31 kB / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.007816, allocations: 49.67 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.007888, allocations: 334.7 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.007914, allocations: 20 kB / 281.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.007967, allocations: 81.94 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.319e-05/0.00806, allocations: 129.8 kB / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008063, allocations: 0 / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001963/0.008259, allocations: 194.1 kB / 281.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.008269, allocations: 4 kB / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.008273, allocations: 0 / 281.8 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.008481, allocations: 80.95 kB / 281.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.008574, allocations: 47.92 kB / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/0.009459, allocations: 1.53 MB / 283.5 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.009525, allocations: 19.83 kB / 283.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.009532, allocations: 8 kB / 283.5 MB, free: 6.746 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 6.782e-05/0.0096, allocations: 121.8 kB / 283.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.009627, allocations: 27.91 kB / 283.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.009648, allocations: 25.84 kB / 283.7 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.009654, allocations: 4 kB / 283.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.009656, allocations: 3.938 kB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00966, allocations: 3.984 kB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.01001, allocations: 375.2 kB / 284 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01001, allocations: 0 / 284 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.0101, allocations: 35.97 kB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/0.01025, allocations: 68.8 kB / 284.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.01026, allocations: 4 kB / 284.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007698/0.01103, allocations: 1.521 MB / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01103, allocations: 0 / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01125, allocations: 279.2 kB / 285.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.01126, allocations: 19.91 kB / 286 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.01128, allocations: 0 / 286 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.01135, allocations: 24.05 kB / 286 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.01139, allocations: 23.91 kB / 286 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.01139, allocations: 0 / 286 MB, free: 4.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.01144, allocations: 66.16 kB / 286.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01144, allocations: 0 / 286.1 MB, free: 4.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01167, allocations: 83.84 kB / 286.2 MB, free: 3.934 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 7.56e-05/0.01175, allocations: 84.3 kB / 286.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.01197, allocations: 242.1 kB / 286.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.01197, allocations: 4 kB / 286.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01208, allocations: 187.3 kB / 286.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.01224, allocations: 36.34 kB / 286.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.01288, allocations: 0.5121 MB / 287.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.01292, allocations: 92.11 kB / 287.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.01297, allocations: 21.95 kB / 287.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.01306, allocations: 95.34 kB / 287.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01306, allocations: 0 / 287.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of Templates: time 0.004481/0.01754, allocations: 3.173 MB / 290.6 MB, free: 15.45 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","",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.5513354879803956]