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.001603/0.001603, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001747/0.001747, allocations: 170 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9538/0.9538, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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 1.453e-06/1.453e-06, allocations: 0 / 274.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.8e-05, allocations: 10.19 kB / 274.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00272/0.002738, allocations: 2.69 MB / 276.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000978/0.003716, allocations: 0.6823 MB / 277.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003832, allocations: 4.656 kB / 277.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.003963, allocations: 47.52 kB / 277.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.004105, allocations: 104.4 kB / 277.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.004305, allocations: 87.81 kB / 277.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.004563, allocations: 346.3 kB / 278.2 MB, free: 400 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.004717, allocations: 78.05 kB / 278.3 MB, free: 320 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.004976, allocations: 207.4 kB / 278.5 MB, free: 112 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.005091, allocations: 99.69 kB / 278.6 MB, free: 12 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.005134, allocations: 28.05 kB / 278.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.8e-05/0.005162, allocations: 24 kB / 278.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.0052, allocations: 63.7 kB / 278.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.005276, allocations: 111.7 kB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.005472, allocations: 207.3 kB / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005473, allocations: 0 / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.005474, allocations: 0 / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.005479, allocations: 0 / 279 MB, free: 15.59 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006305/0.006109, allocations: 0.6129 MB / 279.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.00614, allocations: 8.031 kB / 279.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.006205, allocations: 52.75 kB / 279.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.00642, allocations: 216.1 kB / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.006441, allocations: 16.88 kB / 279.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.006478, allocations: 24.38 kB / 279.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.006783, allocations: 306.7 kB / 280.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.006797, allocations: 4.172 kB / 280.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.006814, allocations: 8.375 kB / 280.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.006825, allocations: 11.94 kB / 280.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.006926, allocations: 83.36 kB / 280.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009744/0.0079, allocations: 0.8943 MB / 281.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.008117, allocations: 127 kB / 281.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.008281, allocations: 115.6 kB / 281.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.008297, allocations: 4 kB / 281.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.008322, allocations: 37.39 kB / 281.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.754e-06/0.008324, allocations: 0 / 281.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006985/0.009022, allocations: 299.4 kB / 281.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.009058, allocations: 55.41 kB / 281.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.009218, allocations: 261.5 kB / 282.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.009236, allocations: 29.7 kB / 282.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.009345, allocations: 234.7 kB / 282.3 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.009387, allocations: 63.42 kB / 282.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.009448, allocations: 51.34 kB / 282.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.009592, allocations: 0.5039 MB / 283 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.009628, allocations: 27.97 kB / 283 MB, free: 11.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.009713, allocations: 114.2 kB / 283.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.009836, allocations: 143.4 kB / 283.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009839, allocations: 0 / 283.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002728/0.01011, allocations: 236.8 kB / 283.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01013, allocations: 8 kB / 283.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01013, allocations: 0 / 283.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.01036, allocations: 83.83 kB / 283.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01046, allocations: 55.84 kB / 283.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.01167, allocations: 2.126 MB / 285.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.01175, allocations: 31.77 kB / 285.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01177, allocations: 12.03 kB / 285.8 MB, free: 8.34 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.111e-05/0.01186, allocations: 168.5 kB / 286 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.01189, allocations: 23.91 kB / 286 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.01192, allocations: 29.78 kB / 286 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.01193, allocations: 7.938 kB / 286 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01193, allocations: 0 / 286 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01193, allocations: 0 / 286 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.01235, allocations: 487.5 kB / 286.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01235, allocations: 128 / 286.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.01243, allocations: 35.98 kB / 286.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.01258, allocations: 67.64 kB / 286.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01259, allocations: 7.984 kB / 286.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009388/0.01353, allocations: 2.079 MB / 288.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01353, allocations: 0 / 288.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.01381, allocations: 351.2 kB / 289 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.01383, allocations: 27.78 kB / 289 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.01384, allocations: 4 kB / 289.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.01392, allocations: 24.17 kB / 289.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.01394, allocations: 11.98 kB / 289.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.01395, allocations: 7.984 kB / 289.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.333e-05/0.01403, allocations: 180.4 kB / 289.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01403, allocations: 3.938 kB / 289.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01428, allocations: 71.89 kB / 289.3 MB, free: 4.594 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.0001061/0.01439, allocations: 99.25 kB / 289.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.01474, allocations: 332.4 kB / 289.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01474, allocations: 0 / 289.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01487, allocations: 247.9 kB / 290 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01511, allocations: 31.98 kB / 290 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.01614, allocations: 0.655 MB / 290.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01619, allocations: 80.33 kB / 290.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.01624, allocations: 25.92 kB / 290.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.01634, allocations: 110.2 kB / 290.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01634, allocations: 0 / 290.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of Templates: time 0.004588/0.02093, allocations: 2.964 MB / 293.9 MB, free: 28 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.8272320074029267]