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.0009634/0.0009634, 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.0009652/0.0009652, allocations: 165.1 kB / 24.91 MB, free: 9.188 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 1.021/1.021, 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.603e-06/1.603e-06, allocations: 0 / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.769e-05, allocations: 2.312 kB / 273.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003494/0.003512, allocations: 2.771 MB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009874/0.004499, allocations: 0.6814 MB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004603, allocations: 4 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.004724, allocations: 51.5 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.004879, allocations: 95.12 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.005024, allocations: 75.89 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.00526, allocations: 358.1 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.005398, allocations: 84 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.005641, allocations: 203.4 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.005771, allocations: 103.7 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.005807, allocations: 28 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.005833, allocations: 28 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.005871, allocations: 67.73 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.005938, allocations: 107.7 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.006125, allocations: 211.2 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006127, allocations: 4 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006128, allocations: 0 / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.006132, allocations: 0 / 278.3 MB, free: 12.27 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.0004771/0.006609, allocations: 496 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.006636, allocations: 15.98 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.006685, allocations: 48.89 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.006889, allocations: 186.1 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.006904, allocations: 21.03 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.006933, allocations: 24.38 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.007121, allocations: 269.5 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.007129, allocations: 192 / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.007144, allocations: 12.38 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.007153, allocations: 11.94 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.007233, allocations: 76.48 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.007983, allocations: 0.6312 MB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.008144, allocations: 110.5 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.008283, allocations: 104.8 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.008297, allocations: 4 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.008316, allocations: 34.56 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.008318, allocations: 4 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004425/0.00876, allocations: 245.8 kB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.008783, allocations: 55.36 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.008885, allocations: 206.1 kB / 280.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.008901, allocations: 33.7 kB / 280.9 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.008958, allocations: 168.5 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.008993, allocations: 75.36 kB / 281.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.009039, allocations: 45.69 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.00911, allocations: 338.7 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.009136, allocations: 24 kB / 281.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.009257, allocations: 81.89 kB / 281.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.009352, allocations: 125.8 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.009354, allocations: 3.938 kB / 281.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000202/0.009556, allocations: 194.1 kB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.009567, allocations: 4 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.009572, allocations: 4 kB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.009785, allocations: 76.91 kB / 282 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.009918, allocations: 51.97 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008983/0.01082, allocations: 1.537 MB / 283.6 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.01089, allocations: 23.83 kB / 283.6 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.0109, allocations: 12 kB / 283.6 MB, free: 6.641 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.764e-05/0.01097, allocations: 121.8 kB / 283.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.011, allocations: 19.98 kB / 283.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.01102, allocations: 25.8 kB / 283.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01102, allocations: 7.938 kB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01102, allocations: 4.031 kB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01103, allocations: 0 / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.01138, allocations: 375.2 kB / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01138, allocations: 0 / 284.1 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.01149, allocations: 43.91 kB / 284.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000163/0.01165, allocations: 72.78 kB / 284.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01166, allocations: 7.984 kB / 284.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008698/0.01253, allocations: 1.51 MB / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01253, allocations: 0 / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.01275, allocations: 283.3 kB / 286.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.01278, allocations: 19.89 kB / 286.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.01279, allocations: 3.938 kB / 286.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.01287, allocations: 24.05 kB / 286.1 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.0129, allocations: 15.97 kB / 286.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.01291, allocations: 4 kB / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.01295, allocations: 62.17 kB / 286.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01295, allocations: 0 / 286.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.01317, allocations: 79.84 kB / 286.3 MB, free: 3.836 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 6.827e-05/0.01324, allocations: 92.33 kB / 286.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01347, allocations: 246.2 kB / 286.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01348, allocations: 0 / 286.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.0136, allocations: 199.2 kB / 286.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01376, allocations: 44.03 kB / 286.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.01442, allocations: 0.5044 MB / 287.3 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.644e-05/0.01447, allocations: 88.17 kB / 287.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.01452, allocations: 25.94 kB / 287.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.01462, allocations: 91.36 kB / 287.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01462, allocations: 0 / 287.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of Templates: time 0.006437/0.02106, allocations: 3.26 MB / 290.8 MB, free: 15.26 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 -s gbode -gbm=radauIIA3 -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.605727295856923]