Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.01084/0.01084, allocations: 105.6 kB / 21.98 MB, free: 5.223 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.00239/0.00239, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.488/1.488, allocations: 230.6 MB / 259 MB, free: 8.293 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.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") [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.002053/0.002053, allocations: 60.77 kB / 379.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2755, allocations: 53.37 MB / 433.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003733/0.2792, allocations: 2.172 MB / 435.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2804, allocations: 0.5843 MB / 435.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2805, allocations: 7.938 kB / 435.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2806, allocations: 35.7 kB / 436 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2807, allocations: 51.5 kB / 436 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.281, allocations: 55.92 kB / 436.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.2813, allocations: 231.1 kB / 436.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.2815, allocations: 53.78 kB / 436.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.2816, allocations: 91.66 kB / 436.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2818, allocations: 107.6 kB / 436.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.2818, allocations: 20 kB / 436.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.868e-05/0.2819, allocations: 24 kB / 436.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.2819, allocations: 43.84 kB / 436.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.282, allocations: 95.59 kB / 436.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.2823, allocations: 240.3 kB / 437 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2823, allocations: 0 / 437 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2823, allocations: 3.938 kB / 437 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2823, allocations: 0 / 437 MB, free: 3.227 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008409/0.2832, allocations: 425.5 kB / 437.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2832, allocations: 12.02 kB / 437.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.2833, allocations: 24.8 kB / 437.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.2836, allocations: 166.2 kB / 437.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2836, allocations: 12.38 kB / 437.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.2837, allocations: 20.38 kB / 437.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.2841, allocations: 189.8 kB / 437.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2841, allocations: 4 kB / 437.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.2841, allocations: 8 kB / 437.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2841, allocations: 4 kB / 437.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.2844, allocations: 143.9 kB / 438 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.2858, allocations: 0.7032 MB / 438.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2862, allocations: 150.5 kB / 438.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.2864, allocations: 84.83 kB / 438.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.2864, allocations: 0 / 438.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.2864, allocations: 38.55 kB / 438.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.2864, allocations: 4 kB / 438.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004732/0.2869, allocations: 173.8 kB / 439.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2869, allocations: 63.34 kB / 439.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.2871, allocations: 151.7 kB / 439.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2871, allocations: 29.7 kB / 439.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.2872, allocations: 144.2 kB / 439.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.2873, allocations: 47.52 kB / 439.5 MB, free: 500 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.2873, allocations: 41.64 kB / 439.6 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2875, allocations: 318.8 kB / 439.9 MB, free: 124 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2877, allocations: 55.94 kB / 439.9 MB, free: 68 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2878, allocations: 73.73 kB / 440 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.2881, allocations: 121.6 kB / 440.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2881, allocations: 0 / 440.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003356/0.2884, allocations: 176 kB / 440.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2884, allocations: 4 kB / 440.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2884, allocations: 0 / 440.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2885, allocations: 7.938 kB / 440.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.2887, allocations: 47.91 kB / 440.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2887, allocations: 0 / 440.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.2888, allocations: 19.88 kB / 440.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2888, allocations: 4 kB / 440.4 MB, free: 15.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.2889, allocations: 126.5 kB / 440.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.2889, allocations: 15.91 kB / 440.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.289, allocations: 20.72 kB / 440.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.289, allocations: 0 / 440.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.289, allocations: 0 / 440.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.289, allocations: 3.984 kB / 440.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.2893, allocations: 232.6 kB / 440.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2893, allocations: 4 kB / 440.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.2895, allocations: 35.92 kB / 440.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2895, allocations: 0 / 440.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2895, allocations: 11.94 kB / 440.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2895, allocations: 0 / 440.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2896, allocations: 8 kB / 440.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.29, allocations: 294.8 kB / 441.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.2901, allocations: 15.84 kB / 441.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.2901, allocations: 11.94 kB / 441.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.2902, allocations: 16.03 kB / 441.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.2903, allocations: 15.92 kB / 441.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2903, allocations: 0 / 441.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2904, allocations: 118.2 kB / 441.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2904, allocations: 3.938 kB / 441.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.2907, allocations: 47.89 kB / 441.3 MB, free: 14.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.2908, allocations: 99.25 kB / 441.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.2911, allocations: 123.9 kB / 441.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2911, allocations: 0 / 441.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2913, allocations: 59.91 kB / 441.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2916, allocations: 31.16 kB / 441.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2927, allocations: 0.5554 MB / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.293, allocations: 0.724 MB / 442.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.2931, allocations: 15.44 kB / 442.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2931, allocations: 0 / 442.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of Templates: time 0.004117/0.2972, allocations: 2.027 MB / 445 MB, free: 10.9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[51300]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.394443175988272]