Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 103.6 kB / 21.18 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 210.1 kB / 24.48 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.832 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2384, allocations: 53.37 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003979/0.2424, allocations: 2.536 MB / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2437, allocations: 0.6622 MB / 435.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2438, allocations: 8 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.244, allocations: 51.5 kB / 435.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.2442, allocations: 87.25 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2444, allocations: 91.81 kB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.2448, allocations: 334.5 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.245, allocations: 89.64 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.2453, allocations: 139.5 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.2455, allocations: 147.3 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.2455, allocations: 28 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.191e-05/0.2456, allocations: 28 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.2456, allocations: 55.83 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2458, allocations: 127.4 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.2461, allocations: 321.7 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2461, allocations: 0 / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2461, allocations: 0 / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2461, allocations: 0 / 437 MB, free: 2.051 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.001001/0.2471, allocations: 0.517 MB / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2472, allocations: 8.031 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.2472, allocations: 32.75 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.2476, allocations: 210 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2476, allocations: 20.88 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.2477, allocations: 24.38 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.2483, allocations: 356.2 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2483, allocations: 0 / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2483, allocations: 8 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.2483, allocations: 11.98 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.2488, allocations: 209.8 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2504, allocations: 0.8601 MB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2509, allocations: 186.4 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.2513, allocations: 144.8 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2513, allocations: 320 / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2513, allocations: 38.56 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.2513, allocations: 0 / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001764/0.2531, allocations: 492.8 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2531, allocations: 59.34 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.2534, allocations: 222.7 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2534, allocations: 29.7 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2535, allocations: 176.1 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.2536, allocations: 75.36 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.2536, allocations: 41.7 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2538, allocations: 334.8 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.254, allocations: 67.89 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.2542, allocations: 135.6 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.2546, allocations: 209.8 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2546, allocations: 4 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008631/0.2555, allocations: 350.1 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2555, allocations: 4 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2555, allocations: 4 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.2559, allocations: 84.86 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2561, allocations: 47.92 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.259, allocations: 1.871 MB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2592, allocations: 27.84 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2592, allocations: 4 kB / 443.8 MB, free: 10.88 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.0001447/0.2594, allocations: 145.7 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.2594, allocations: 23.86 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.2595, allocations: 21.81 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2595, allocations: 48 / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2595, allocations: 3.984 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2595, allocations: 8.047 kB / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.2606, allocations: 0.5534 MB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2606, allocations: 4 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2607, allocations: 27.98 kB / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.261, allocations: 92.8 kB / 444.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.261, allocations: 3.938 kB / 444.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.2634, allocations: 1.781 MB / 446.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2634, allocations: 0 / 446.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.2644, allocations: 466.9 kB / 447 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.2644, allocations: 23.88 kB / 447 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2645, allocations: 4 kB / 447 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.2647, allocations: 19.98 kB / 447 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2647, allocations: 7.984 kB / 447 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2647, allocations: 11.98 kB / 447 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.2649, allocations: 152.6 kB / 447.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 4.062 kB / 447.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.2653, allocations: 71.89 kB / 447.2 MB, free: 7.305 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.0001223/0.2654, allocations: 99.25 kB / 447.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.2663, allocations: 364.6 kB / 447.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2663, allocations: 0 / 447.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.2666, allocations: 206.9 kB / 447.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.267, allocations: 51.92 kB / 447.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.2694, allocations: 0.8954 MB / 448.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2695, allocations: 146.1 kB / 449 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.2696, allocations: 19.44 kB / 449 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2696, allocations: 0 / 449 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.006058/0.2756, allocations: 3.753 MB / 452.8 MB, free: 1.699 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.134051895001903]