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.001273/0.001273, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001457/0.001457, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.629 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.723e-06/1.723e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.522e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002916/0.002942, allocations: 2.167 MB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004007, allocations: 0.557 MB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.004158, allocations: 4 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.004296, allocations: 35.66 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.004408, allocations: 59.48 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004662, allocations: 51.91 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.004956, allocations: 242.9 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.005164, allocations: 53.78 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.005357, allocations: 135.7 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.005486, allocations: 75.78 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.005524, allocations: 20 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.005552, allocations: 20 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.005595, allocations: 47.83 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.00566, allocations: 79.88 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.00587, allocations: 155.4 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005874, allocations: 0 / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005875, allocations: 0 / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.005882, allocations: 0 / 276.7 MB, free: 13.83 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.0006272/0.006509, allocations: 0.5154 MB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.006552, allocations: 8.031 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.006619, allocations: 36.84 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.006899, allocations: 160.3 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.006942, allocations: 12.38 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.006985, allocations: 20.38 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.007296, allocations: 214 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007307, allocations: 192 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.007326, allocations: 8.375 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.007339, allocations: 7.938 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.007457, allocations: 67.95 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.008338, allocations: 0.6607 MB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.008523, allocations: 119 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.008607, allocations: 55.67 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.00862, allocations: 4 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.008648, allocations: 41.38 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.008649, allocations: 0 / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002462/0.008895, allocations: 129.5 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.008924, allocations: 55.41 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.009034, allocations: 201.2 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.00905, allocations: 33.7 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.009134, allocations: 183 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.009169, allocations: 55.45 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.009223, allocations: 43.36 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.009354, allocations: 0.4961 MB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.009402, allocations: 23.98 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.00946, allocations: 43.36 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.009561, allocations: 81.23 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.009564, allocations: 0 / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000168/0.009732, allocations: 137.4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.009747, allocations: 8.031 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009753, allocations: 0 / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.009772, allocations: 0 / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.009933, allocations: 47.91 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.00994, allocations: 4 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.009988, allocations: 11.89 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.009996, allocations: 8 kB / 280.1 MB, free: 10.13 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.998e-05/0.01008, allocations: 164.5 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.01011, allocations: 15.94 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.01014, allocations: 12.78 kB / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01014, allocations: 8 kB / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01014, allocations: 0 / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01015, allocations: 0 / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.01032, allocations: 192.5 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01032, allocations: 0 / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.01044, allocations: 35.92 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01044, allocations: 0 / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01045, allocations: 4 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01045, allocations: 0 / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01045, allocations: 0 / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.0107, allocations: 294.9 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01072, allocations: 19.83 kB / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.01074, allocations: 0 / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.01082, allocations: 12 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.01087, allocations: 15.91 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01087, allocations: 8 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.622e-05/0.01094, allocations: 146.3 kB / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01094, allocations: 0 / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.01112, allocations: 47.89 kB / 281.1 MB, free: 9.109 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 8.697e-05/0.01121, allocations: 103.2 kB / 281.2 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.01137, allocations: 86.39 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01137, allocations: 0 / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.01142, allocations: 55.55 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01165, allocations: 31.91 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.01249, allocations: 454.3 kB / 281.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.01253, allocations: 71.84 kB / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.01258, allocations: 9.156 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.01262, allocations: 12.5 kB / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01262, allocations: 0 / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of Templates: time 0.003449/0.01606, allocations: 1.575 MB / 283.5 MB, free: 6.695 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[50234]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.124765699263662]