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.001571/0.001571, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.00147/0.00147, allocations: 156.9 kB / 24.27 MB, free: 172 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.487/1.487, allocations: 177 MB / 204.5 MB, free: 5.629 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 2.324e-06/2.324e-06, allocations: 0 / 272.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.691e-05, allocations: 2.312 kB / 272.3 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004511/0.004548, allocations: 2.556 MB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005977, allocations: 0.6505 MB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.006121, allocations: 7.938 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.0063, allocations: 43.58 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.006523, allocations: 103.1 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.006752, allocations: 75.81 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.007198, allocations: 354.2 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.0074, allocations: 78.03 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.007792, allocations: 199.6 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.007995, allocations: 103.7 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.008049, allocations: 28 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.0081, allocations: 28 kB / 276.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.008165, allocations: 63.75 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.008298, allocations: 103.7 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.008726, allocations: 330.8 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.008728, allocations: 0 / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.008732, allocations: 3.984 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008738, allocations: 0 / 277 MB, free: 13.04 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.001075/0.009813, allocations: 0.5054 MB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.009851, allocations: 11.98 kB / 277.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.009962, allocations: 56.7 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.01036, allocations: 222.7 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.01038, allocations: 24.97 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.01044, allocations: 24.38 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.01094, allocations: 337.5 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01095, allocations: 192 / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.01098, allocations: 12.38 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.01099, allocations: 7.938 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.01132, allocations: 182.5 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.01288, allocations: 0.7948 MB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.01325, allocations: 166.5 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.01361, allocations: 136.7 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01363, allocations: 4 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.01367, allocations: 42.5 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.01367, allocations: 0 / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001186/0.01486, allocations: 358.5 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.01491, allocations: 59.39 kB / 279.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.01517, allocations: 215 kB / 280.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.0152, allocations: 33.7 kB / 280.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.01535, allocations: 184.4 kB / 280.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.01542, allocations: 79.33 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.0155, allocations: 45.7 kB / 280.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000404/0.01591, allocations: 330.8 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.01602, allocations: 59.98 kB / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.01617, allocations: 106 kB / 280.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.01644, allocations: 173.8 kB / 281.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01644, allocations: 0 / 281.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000627/0.01707, allocations: 306 kB / 281.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01709, allocations: 4 kB / 281.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.01709, allocations: 4 kB / 281.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.01767, allocations: 100.9 kB / 281.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.01787, allocations: 51.91 kB / 281.5 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.02032, allocations: 1.78 MB / 283.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.02048, allocations: 27.83 kB / 283.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.0205, allocations: 8.062 kB / 283.3 MB, free: 6.273 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.0001597/0.02066, allocations: 137.8 kB / 283.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.02072, allocations: 31.84 kB / 283.5 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.02077, allocations: 25.8 kB / 283.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.02078, allocations: 4 kB / 283.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02078, allocations: 0 / 283.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.02078, allocations: 0 / 283.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.02171, allocations: 0.5206 MB / 284.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02171, allocations: 0 / 284.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.02188, allocations: 39.91 kB / 284.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.02235, allocations: 92.77 kB / 284.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.02237, allocations: 7.984 kB / 284.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.02466, allocations: 1.787 MB / 286 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02466, allocations: 0 / 286 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.02534, allocations: 396 kB / 286.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.02539, allocations: 27.95 kB / 286.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.02542, allocations: 7.984 kB / 286.4 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.02562, allocations: 16 kB / 286.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.02568, allocations: 19.89 kB / 286.4 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.02569, allocations: 8 kB / 286.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.02586, allocations: 152.6 kB / 286.6 MB, free: 2.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02586, allocations: 0 / 286.6 MB, free: 2.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.02631, allocations: 83.78 kB / 286.7 MB, free: 2.758 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.0001723/0.02649, allocations: 103.2 kB / 286.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.02705, allocations: 296.2 kB / 287.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02705, allocations: 0 / 287.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.02735, allocations: 202.5 kB / 287.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.02775, allocations: 44.22 kB / 287.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.02909, allocations: 0.5363 MB / 287.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.02926, allocations: 150.9 kB / 288 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.02934, allocations: 17.95 kB / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.0294, allocations: 20.5 kB / 288 MB, free: 1.332 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0294, allocations: 0 / 288 MB, free: 1.332 MB / 266.7 MB Notification: Performance of Templates: time 0.007776/0.03717, allocations: 2.93 MB / 291 MB, free: 14.44 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=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/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.528383738012053]