Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.000925/0.000925, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009756/0.0009756, allocations: 171.4 kB / 24.91 MB, free: 9.191 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.928/0.928, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.446e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002864/0.002888, allocations: 2.164 MB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003982, allocations: 0.5841 MB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.004078, allocations: 0 / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.00421, allocations: 27.72 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.004328, allocations: 55.48 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.004533, allocations: 59.84 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.00479, allocations: 238.8 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.004941, allocations: 62.36 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.005114, allocations: 131.8 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.005247, allocations: 79.83 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.005291, allocations: 20 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.84e-05/0.005319, allocations: 20 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.005365, allocations: 47.83 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.005435, allocations: 71.83 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.00565, allocations: 155.5 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005653, allocations: 4 kB / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005655, allocations: 0 / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005661, allocations: 3.984 kB / 277.2 MB, free: 13.58 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005041/0.006165, allocations: 396.1 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.006201, allocations: 12.03 kB / 277.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.00626, allocations: 24.92 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.006436, allocations: 141.5 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.006463, allocations: 16.38 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.006499, allocations: 20.31 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.006733, allocations: 202.2 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.006742, allocations: 192 / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.006758, allocations: 8.375 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.006769, allocations: 7.938 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.00685, allocations: 43.97 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.007598, allocations: 0.5127 MB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.007766, allocations: 94.45 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.007833, allocations: 47.86 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.007845, allocations: 7.969 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.007868, allocations: 38.56 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.007869, allocations: 0 / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001811/0.00805, allocations: 89.92 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.008076, allocations: 55.41 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.008172, allocations: 145.5 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.008189, allocations: 29.7 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.008251, allocations: 136.2 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.008284, allocations: 47.58 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.008334, allocations: 37.64 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.008425, allocations: 326.8 kB / 279.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.008454, allocations: 15.94 kB / 279.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.008499, allocations: 37.69 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.435e-05/0.008583, allocations: 65.61 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008585, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001379/0.008723, allocations: 100.3 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.008736, allocations: 4 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008741, allocations: 4 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.008753, allocations: 0 / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.008898, allocations: 43.91 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008902, allocations: 0 / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.008959, allocations: 15.89 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.008967, allocations: 4 kB / 279.8 MB, free: 10.71 MB / 266.7 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 7.972e-05/0.009047, allocations: 125.8 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.009082, allocations: 15.98 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.00911, allocations: 12.78 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.009113, allocations: 4 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009114, allocations: 0 / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.009119, allocations: 3.984 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.0093, allocations: 117.8 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009301, allocations: 0 / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.009449, allocations: 47.86 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.009451, allocations: 4 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.00946, allocations: 3.984 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.009463, allocations: 3.984 kB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009464, allocations: 0 / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.009663, allocations: 203.5 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.009681, allocations: 19.83 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.009697, allocations: 0 / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.009788, allocations: 11.98 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.00982, allocations: 15.92 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.009827, allocations: 4 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.009861, allocations: 31.58 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009861, allocations: 0 / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.01009, allocations: 51.84 kB / 280.5 MB, free: 9.996 MB / 266.7 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 9.2e-05/0.01019, allocations: 80.42 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01032, allocations: 64.77 kB / 280.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.01032, allocations: 3.938 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.01037, allocations: 45.39 kB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.01058, allocations: 24.05 kB / 280.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.01137, allocations: 411.6 kB / 281.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.01142, allocations: 71.83 kB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.01148, allocations: 13.14 kB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.01158, allocations: 79.34 kB / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01158, allocations: 0 / 281.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of Templates: time 0.003894/0.01548, allocations: 1.708 MB / 283 MB, free: 7.484 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","",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[50190]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.644378343131393]