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.0007909/0.0007909, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00407/0.00407, allocations: 153.4 kB / 24.7 MB, free: 8.898 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.8312/0.8312, allocations: 177 MB / 204.9 MB, free: 5.777 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=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 1.042e-06/1.042e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.51e-05, allocations: 3.266 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002385/0.002401, allocations: 2.544 MB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.003131, allocations: 0.6543 MB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003237, allocations: 7.938 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003356, allocations: 47.5 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003487, allocations: 103.1 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.003634, allocations: 83.75 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.003859, allocations: 350.2 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.004009, allocations: 78.02 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.004253, allocations: 199.5 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.004375, allocations: 103.7 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.004404, allocations: 28 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.004429, allocations: 24 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.004464, allocations: 71.69 kB / 330.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.004531, allocations: 103.8 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.004768, allocations: 326.9 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004771, allocations: 0 / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004772, allocations: 0 / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.004778, allocations: 0 / 330.5 MB, free: 10.62 MB / 298.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.0005632/0.005341, allocations: 0.5131 MB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.005373, allocations: 15.98 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.005422, allocations: 40.7 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.005657, allocations: 210.1 kB / 331.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.005672, allocations: 17.03 kB / 331.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.005704, allocations: 28.38 kB / 331.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.005981, allocations: 341.4 kB / 331.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.00599, allocations: 192 / 331.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.00601, allocations: 12.38 kB / 331.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.006017, allocations: 11.94 kB / 331.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.006213, allocations: 186.5 kB / 331.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.007068, allocations: 0.7831 MB / 332.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.007307, allocations: 150.5 kB / 332.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.007505, allocations: 136.8 kB / 332.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007522, allocations: 4 kB / 333 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.00754, allocations: 38.5 kB / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.183e-06/0.007542, allocations: 0 / 333 MB, free: 7.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006235/0.008165, allocations: 354.4 kB / 333.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.008191, allocations: 55.41 kB / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.008332, allocations: 230.7 kB / 333.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.008348, allocations: 33.64 kB / 333.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.008422, allocations: 184.4 kB / 333.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.008457, allocations: 75.33 kB / 333.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.008504, allocations: 49.7 kB / 333.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.008581, allocations: 330.8 kB / 334.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.008646, allocations: 55.97 kB / 334.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.008865, allocations: 110 kB / 334.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.009017, allocations: 177.9 kB / 334.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.009019, allocations: 0 / 334.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003195/0.009339, allocations: 298.1 kB / 334.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.00935, allocations: 4 kB / 334.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.009354, allocations: 4 kB / 334.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.009555, allocations: 68.8 kB / 335 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.009657, allocations: 51.91 kB / 335 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.01087, allocations: 1.78 MB / 336.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.01094, allocations: 27.88 kB / 336.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01095, allocations: 8 kB / 336.8 MB, free: 3.922 MB / 298.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.322e-05/0.01103, allocations: 141.7 kB / 337 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.01106, allocations: 23.84 kB / 337 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.01108, allocations: 25.8 kB / 337 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01108, allocations: 0 / 337 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.01108, allocations: 0 / 337 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.01108, allocations: 4 kB / 337 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.01156, allocations: 0.5212 MB / 337.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01156, allocations: 0 / 337.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.483e-05/0.01165, allocations: 35.97 kB / 337.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.01179, allocations: 72.8 kB / 337.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.0118, allocations: 4 kB / 337.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.01286, allocations: 1.775 MB / 339.4 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01286, allocations: 0 / 339.4 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.0132, allocations: 395.8 kB / 339.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.01322, allocations: 19.8 kB / 339.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.01323, allocations: 8 kB / 339.8 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.01332, allocations: 20.11 kB / 339.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.01335, allocations: 19.95 kB / 339.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.01336, allocations: 11.98 kB / 339.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.895e-05/0.01344, allocations: 152.5 kB / 340 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01344, allocations: 0 / 340 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002457/0.01369, allocations: 83.84 kB / 340.1 MB, free: 460 kB / 298.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.738e-05/0.01376, allocations: 99.25 kB / 340.2 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.01406, allocations: 286.4 kB / 340.5 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01406, allocations: 0 / 340.5 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.01421, allocations: 205.8 kB / 340.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01444, allocations: 44.56 kB / 340.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.01504, allocations: 0.5594 MB / 341.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.01512, allocations: 146.9 kB / 341.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.01529, allocations: 20.5 kB / 341.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 4e-07/0.01529, allocations: 0 / 341.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.003409/0.0187, allocations: 3.938 MB / 345.4 MB, free: 11.08 MB / 314.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.5090162213891745]