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.001053/0.001053, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001069/0.001069, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.48 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.743e-06/1.743e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.953e-05, allocations: 5.266 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003014/0.003044, allocations: 2.708 MB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.004087, allocations: 0.662 MB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.004204, allocations: 11.94 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.004324, allocations: 47.58 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.004477, allocations: 99.11 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.004646, allocations: 75.83 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.00496, allocations: 354.1 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.005118, allocations: 78.05 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.005427, allocations: 203.4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.005557, allocations: 103.7 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.005588, allocations: 28 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.005621, allocations: 28 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.00566, allocations: 63.75 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.005732, allocations: 103.8 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.005946, allocations: 223.1 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005948, allocations: 0 / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005949, allocations: 0 / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005954, allocations: 0 / 278.1 MB, free: 12.39 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.0005593/0.006514, allocations: 0.6169 MB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.006548, allocations: 11.98 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.006605, allocations: 52.75 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.0068, allocations: 212.9 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.006814, allocations: 24.97 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.006845, allocations: 32.31 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.007067, allocations: 265.5 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.007075, allocations: 192 / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.007092, allocations: 12.38 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.0071, allocations: 7.938 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.007192, allocations: 84.52 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.00804, allocations: 0.7867 MB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.008221, allocations: 131 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.008373, allocations: 111 kB / 280.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.008389, allocations: 7.938 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.008412, allocations: 41.39 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.008413, allocations: 0 / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005017/0.008915, allocations: 273.2 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.008939, allocations: 55.41 kB / 280.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.009075, allocations: 269.4 kB / 281.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.009093, allocations: 29.7 kB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.009179, allocations: 227.2 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.009215, allocations: 67.38 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.009265, allocations: 51.34 kB / 281.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.009386, allocations: 0.5156 MB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.009415, allocations: 19.98 kB / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.009485, allocations: 105.7 kB / 282.1 MB, free: 8.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.009599, allocations: 145.6 kB / 282.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009601, allocations: 4 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002508/0.009852, allocations: 221 kB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.009865, allocations: 15.12 kB / 282.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.009871, allocations: 0 / 282.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.01009, allocations: 75.62 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01019, allocations: 59.84 kB / 282.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.01138, allocations: 2.195 MB / 284.8 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.01146, allocations: 27.78 kB / 284.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.01146, allocations: 8 kB / 284.8 MB, free: 5.246 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 8.33e-05/0.01155, allocations: 172.5 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.01158, allocations: 32.11 kB / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.0116, allocations: 25.8 kB / 285.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01161, allocations: 3.938 kB / 285.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01161, allocations: 4 kB / 285.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01161, allocations: 0 / 285.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.01204, allocations: 493.3 kB / 285.6 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01205, allocations: 4 kB / 285.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.01213, allocations: 35.98 kB / 285.6 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.0123, allocations: 79.53 kB / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.01231, allocations: 0 / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009703/0.01328, allocations: 2.167 MB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01328, allocations: 0 / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.01354, allocations: 362.3 kB / 288.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.01356, allocations: 27.91 kB / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.01357, allocations: 0 / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.01366, allocations: 23.92 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.0137, allocations: 23.86 kB / 288.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.0137, allocations: 4 kB / 288.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.588e-05/0.01378, allocations: 184.5 kB / 288.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01378, allocations: 0 / 288.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.01404, allocations: 75.89 kB / 288.5 MB, free: 1.371 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 8.149e-05/0.01412, allocations: 103.2 kB / 288.6 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.01437, allocations: 308.2 kB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01437, allocations: 0 / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.01451, allocations: 257.3 kB / 289.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01474, allocations: 40.33 kB / 289.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.01545, allocations: 0.5262 MB / 289.7 MB, free: 72 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.01552, allocations: 88.23 kB / 289.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.01558, allocations: 25.88 kB / 289.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/0.01568, allocations: 110.2 kB / 290 MB, free: 15.83 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01568, allocations: 4 kB / 290 MB, free: 15.83 MB / 282.7 MB Notification: Performance of Templates: time 0.004825/0.0205, allocations: 3.172 MB / 293.1 MB, free: 12.7 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.8881225949153304]