Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009316/0.0009316, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9896/0.9896, allocations: 173.4 MB / 202.3 MB, free: 8.285 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 269.2 MB, free: 9.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.813e-05, allocations: 2.312 kB / 269.3 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003495/0.003523, allocations: 2.679 MB / 271.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004803, allocations: 0.6472 MB / 272.6 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.004973, allocations: 7.938 kB / 272.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.005123, allocations: 51.5 kB / 272.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.005356, allocations: 93.33 kB / 272.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.005626, allocations: 96.75 kB / 272.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.005919, allocations: 350.3 kB / 273.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.006086, allocations: 74.05 kB / 273.2 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.006336, allocations: 199.5 kB / 273.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.00647, allocations: 107.7 kB / 273.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.006515, allocations: 28 kB / 273.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.006545, allocations: 24 kB / 273.6 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.006589, allocations: 63.75 kB / 273.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.006676, allocations: 103.8 kB / 273.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.006906, allocations: 211.2 kB / 274 MB, free: 4.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.00691, allocations: 3.984 kB / 274 MB, free: 4.984 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006911, allocations: 0 / 274 MB, free: 4.984 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.006916, allocations: 0 / 274 MB, free: 4.984 MB / 250.7 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.0006647/0.00758, allocations: 0.6129 MB / 274.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.007613, allocations: 8.031 kB / 274.6 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.007676, allocations: 52.75 kB / 274.6 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.007899, allocations: 212.1 kB / 274.8 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.007913, allocations: 20.88 kB / 274.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.007947, allocations: 24.38 kB / 274.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.008238, allocations: 298.8 kB / 275.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.008247, allocations: 192 / 275.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.008264, allocations: 8.375 kB / 275.2 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.008272, allocations: 11.94 kB / 275.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.008378, allocations: 83.36 kB / 275.3 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.009287, allocations: 0.8944 MB / 276.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.009507, allocations: 131 kB / 276.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.00967, allocations: 107.5 kB / 276.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.009689, allocations: 4 kB / 276.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.009714, allocations: 49.38 kB / 276.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.009716, allocations: 0 / 276.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006373/0.01035, allocations: 291.2 kB / 276.7 MB, free: 2.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.01038, allocations: 55.41 kB / 276.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.01052, allocations: 265.2 kB / 277.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01053, allocations: 37.7 kB / 277.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.01062, allocations: 226.8 kB / 277.3 MB, free: 1.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.01066, allocations: 71.41 kB / 277.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.01072, allocations: 51.36 kB / 277.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01085, allocations: 0.5039 MB / 277.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.01089, allocations: 27.97 kB / 278 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.01096, allocations: 109.9 kB / 278.1 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.01108, allocations: 147.4 kB / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01109, allocations: 0 / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002802/0.01137, allocations: 231.3 kB / 278.4 MB, free: 188 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01138, allocations: 12 kB / 278.5 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.01139, allocations: 0 / 278.5 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.01162, allocations: 79.61 kB / 278.5 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01173, allocations: 51.92 kB / 278.6 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.01301, allocations: 2.131 MB / 280.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.01311, allocations: 23.84 kB / 280.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.01312, allocations: 12 kB / 280.7 MB, free: 13.76 MB / 266.7 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 9.339e-05/0.01321, allocations: 172.5 kB / 280.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.01325, allocations: 31.84 kB / 280.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.01328, allocations: 21.81 kB / 281 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01328, allocations: 11.97 kB / 281 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01328, allocations: 0 / 281 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01329, allocations: 3.984 kB / 281 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.01376, allocations: 471.6 kB / 281.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.01376, allocations: 3.984 kB / 281.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.831e-05/0.01386, allocations: 35.98 kB / 281.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/0.01407, allocations: 67.64 kB / 281.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.01408, allocations: 11.94 kB / 281.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.01516, allocations: 2.091 MB / 283.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01516, allocations: 0 / 283.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.01547, allocations: 355.2 kB / 284 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.0155, allocations: 19.83 kB / 284 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01551, allocations: 8 kB / 284 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.0156, allocations: 12 kB / 284 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.01562, allocations: 15.97 kB / 284.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01563, allocations: 0 / 284.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.806e-05/0.01572, allocations: 192.2 kB / 284.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01572, allocations: 7.969 kB / 284.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.01602, allocations: 75.84 kB / 284.3 MB, free: 9.992 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: 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.0001109/0.01613, allocations: 95.25 kB / 284.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.01651, allocations: 329.3 kB / 284.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01651, allocations: 0 / 284.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.01664, allocations: 232.2 kB / 285 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.0169, allocations: 44.05 kB / 285 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.01802, allocations: 0.655 MB / 285.7 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01807, allocations: 92.25 kB / 285.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.01813, allocations: 17.94 kB / 285.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.01823, allocations: 110.2 kB / 285.9 MB, free: 8.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01823, allocations: 4 kB / 285.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of Templates: time 0.004872/0.0231, allocations: 2.948 MB / 288.8 MB, free: 5.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.829946768004447]