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.0009537/0.0009537, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001097/0.001097, allocations: 165.8 kB / 24.82 MB, free: 9.273 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.9803/0.9803, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.613e-06/1.613e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.091e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002791/0.002812, allocations: 2.166 MB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.003734, allocations: 0.5532 MB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.003829, allocations: 4 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.003955, allocations: 31.66 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.004048, allocations: 59.42 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.004211, allocations: 55.91 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.004425, allocations: 242.9 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.004595, allocations: 61.7 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.004748, allocations: 127.8 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.00488, allocations: 71.78 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.004917, allocations: 24 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.881e-05/0.004945, allocations: 20 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.004989, allocations: 47.88 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.005054, allocations: 75.83 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005256, allocations: 151.5 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005259, allocations: 3.938 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00526, allocations: 4 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.005264, allocations: 0 / 277.1 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.0005672/0.005832, allocations: 0.5192 MB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.005871, allocations: 8.031 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.005914, allocations: 32.84 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.00606, allocations: 160.3 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.006082, allocations: 20.38 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.006107, allocations: 16.38 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.0063, allocations: 194.2 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.006307, allocations: 192 / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006321, allocations: 8.375 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006328, allocations: 7.938 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.006396, allocations: 47.95 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.007057, allocations: 0.6377 MB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.007212, allocations: 107.1 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.007272, allocations: 51.66 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.007282, allocations: 4 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.007305, allocations: 45.38 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.007306, allocations: 0 / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001817/0.007487, allocations: 117.8 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.00751, allocations: 51.41 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.007601, allocations: 201.1 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.007615, allocations: 33.7 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.007684, allocations: 175 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.007713, allocations: 51.52 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.00776, allocations: 43.34 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.007885, allocations: 0.5 MB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.007914, allocations: 15.98 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.007955, allocations: 43.36 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.411e-05/0.008029, allocations: 73.62 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008031, allocations: 0 / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001272/0.008158, allocations: 121.4 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.008171, allocations: 8 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008177, allocations: 0 / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008188, allocations: 0 / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.008316, allocations: 39.97 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008322, allocations: 8.016 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.008369, allocations: 19.89 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.008376, allocations: 0 / 280.4 MB, free: 10.02 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.945e-05/0.008455, allocations: 168.5 kB / 280.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.008481, allocations: 15.95 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.008517, allocations: 20.77 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008519, allocations: 0 / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.008521, allocations: 3.938 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008524, allocations: 0 / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.008675, allocations: 157.1 kB / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.008678, allocations: 7.938 kB / 280.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.008787, allocations: 35.97 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008789, allocations: 0 / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.008798, allocations: 4 kB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008799, allocations: 0 / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.008801, allocations: 3.938 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.009263, allocations: 279.7 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.009282, allocations: 19.78 kB / 281.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.009299, allocations: 4 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.009371, allocations: 19.98 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.009402, allocations: 7.984 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.009408, allocations: 4 kB / 281.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.00946, allocations: 150.1 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00946, allocations: 0 / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.00963, allocations: 47.89 kB / 281.3 MB, free: 9.031 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.436e-05/0.009714, allocations: 103.2 kB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.009823, allocations: 69.83 kB / 281.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009825, allocations: 64 / 281.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.009865, allocations: 47.61 kB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01008, allocations: 27.92 kB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.01076, allocations: 450.2 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.0108, allocations: 75.77 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.366e-05/0.01084, allocations: 21.12 kB / 282.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.01093, allocations: 98.17 kB / 282.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01093, allocations: 0 / 282.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of Templates: time 0.003236/0.01417, allocations: 1.703 MB / 283.9 MB, free: 6.426 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[50218]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7984761698171496]