Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00133/0.00133, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.001487/0.001487, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.81 kB / 378.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2516, allocations: 53.3 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004158/0.2557, allocations: 2.744 MB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2571, allocations: 0.7128 MB / 435.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.2572, allocations: 4 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2574, allocations: 51.5 kB / 435.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2575, allocations: 83.27 kB / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2578, allocations: 95.8 kB / 435.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2582, allocations: 334.5 kB / 436.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2584, allocations: 81.7 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.2587, allocations: 139.5 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.2589, allocations: 143.4 kB / 436.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.2589, allocations: 28 kB / 436.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.259, allocations: 28 kB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.259, allocations: 55.77 kB / 436.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.2592, allocations: 147.3 kB / 436.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.2595, allocations: 316.6 kB / 437 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2596, allocations: 0 / 437 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2596, allocations: 0 / 437 MB, free: 2.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2596, allocations: 4 kB / 437 MB, free: 2.414 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001033/0.2606, allocations: 0.5962 MB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2606, allocations: 8.031 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.2607, allocations: 32.75 kB / 437.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.2611, allocations: 271.8 kB / 437.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2611, allocations: 16.94 kB / 437.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.2612, allocations: 28.31 kB / 438 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.2617, allocations: 288 kB / 438.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2617, allocations: 3.938 kB / 438.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2618, allocations: 8 kB / 438.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.2618, allocations: 8 kB / 438.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.2623, allocations: 206.1 kB / 438.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.264, allocations: 1.008 MB / 439.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2645, allocations: 178.5 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.2649, allocations: 140.8 kB / 439.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2649, allocations: 4 kB / 439.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2649, allocations: 38.88 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.2649, allocations: 0 / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001816/0.2668, allocations: 0.5603 MB / 440.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2668, allocations: 51.41 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.2671, allocations: 233 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.2671, allocations: 25.7 kB / 440.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2672, allocations: 184.1 kB / 440.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.2673, allocations: 63.47 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.2673, allocations: 53.66 kB / 441 MB, free: 14.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2675, allocations: 330.8 kB / 441.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2677, allocations: 71.91 kB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2679, allocations: 131.3 kB / 441.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2683, allocations: 210.6 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2683, allocations: 4 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008847/0.2692, allocations: 352.2 kB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2692, allocations: 12.06 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2692, allocations: 3.984 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.2696, allocations: 72.8 kB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.2698, allocations: 55.91 kB / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.2728, allocations: 2.006 MB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.273, allocations: 27.84 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.273, allocations: 12 kB / 444.2 MB, free: 10.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.2731, allocations: 137.7 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.2732, allocations: 27.84 kB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.2732, allocations: 22.19 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2732, allocations: 4 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2732, allocations: 4.062 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2732, allocations: 3.984 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2744, allocations: 0.6514 MB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2744, allocations: 0 / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.2746, allocations: 35.92 kB / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.2749, allocations: 80.73 kB / 445.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2749, allocations: 4 kB / 445.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.2774, allocations: 1.92 MB / 447.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2774, allocations: 0 / 447.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009748/0.2784, allocations: 463 kB / 447.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.2785, allocations: 96.91 kB / 447.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.2785, allocations: 7.984 kB / 447.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2787, allocations: 23.98 kB / 447.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.2788, allocations: 12.05 kB / 447.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2788, allocations: 8.125 kB / 447.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.2789, allocations: 172.4 kB / 447.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2789, allocations: 4 kB / 447.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.2794, allocations: 71.89 kB / 448 MB, free: 6.75 MB / 350.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001539/0.2795, allocations: 99.25 kB / 448.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009727/0.2805, allocations: 370.4 kB / 448.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2805, allocations: 0 / 448.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.2808, allocations: 206.5 kB / 448.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.2812, allocations: 36.97 kB / 448.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2837, allocations: 0.873 MB / 449.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.2841, allocations: 0.7479 MB / 450.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.201e-05/0.2842, allocations: 29.92 kB / 450.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2842, allocations: 15.44 kB / 450.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2843, allocations: 0 / 450.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Templates: time 0.006797/0.291, allocations: 3.052 MB / 453.4 MB, free: 1.258 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.506940495688468]