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.001777/0.001777, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002207/0.002207, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 8.012 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+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 0.001668/0.001668, allocations: 55.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2927, allocations: 53.36 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003779/0.2965, allocations: 2.174 MB / 433.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2979, allocations: 0.5765 MB / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.2981, allocations: 4 kB / 434.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2982, allocations: 35.64 kB / 434.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.2984, allocations: 51.56 kB / 434.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2986, allocations: 55.86 kB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.299, allocations: 235 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2992, allocations: 61.72 kB / 434.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2994, allocations: 87.77 kB / 434.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.2996, allocations: 103.5 kB / 435 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.2996, allocations: 20 kB / 435 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.2997, allocations: 24 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.2997, allocations: 43.84 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.2999, allocations: 99.59 kB / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.3002, allocations: 240.3 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.3003, allocations: 4 kB / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3003, allocations: 0 / 435.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.3003, allocations: 0 / 435.4 MB, free: 3.148 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.0009965/0.3013, allocations: 429.4 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.3013, allocations: 12.02 kB / 435.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.3014, allocations: 24.84 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.3018, allocations: 158.2 kB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3018, allocations: 12.38 kB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.3018, allocations: 20.38 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.3023, allocations: 185.8 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3023, allocations: 0 / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.3023, allocations: 12 kB / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.3023, allocations: 11.94 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.3026, allocations: 139.9 kB / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.304, allocations: 0.7032 MB / 437.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.3044, allocations: 146.6 kB / 437.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3046, allocations: 84.83 kB / 437.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3046, allocations: 4 kB / 437.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.3047, allocations: 42.48 kB / 437.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3047, allocations: 0 / 437.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005201/0.3052, allocations: 177.8 kB / 437.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3052, allocations: 63.28 kB / 437.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3054, allocations: 159.7 kB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3054, allocations: 25.7 kB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3055, allocations: 136.2 kB / 437.9 MB, free: 472 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.3056, allocations: 55.56 kB / 438 MB, free: 416 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.3057, allocations: 33.66 kB / 438 MB, free: 376 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3058, allocations: 326.8 kB / 438.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.306, allocations: 48.03 kB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3061, allocations: 77.56 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.3064, allocations: 117.7 kB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3064, allocations: 0 / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003467/0.3068, allocations: 179.9 kB / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3068, allocations: 8.031 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3068, allocations: 0 / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3068, allocations: 7.922 kB / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.307, allocations: 43.98 kB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3071, allocations: 0 / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3072, allocations: 15.88 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3072, allocations: 8 kB / 438.8 MB, free: 15.53 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.0001363/0.3073, allocations: 125.8 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3074, allocations: 19.91 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.3074, allocations: 16.72 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3074, allocations: 4 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3074, allocations: 3.984 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3074, allocations: 0 / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.3077, allocations: 228.6 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3077, allocations: 0 / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.308, allocations: 35.98 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.308, allocations: 7.938 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.308, allocations: 3.938 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.308, allocations: 4 kB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.308, allocations: 3.984 kB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.3085, allocations: 291.4 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.3085, allocations: 23.78 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3086, allocations: 7.938 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3087, allocations: 16.03 kB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.3088, allocations: 11.98 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3088, allocations: 4 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.3089, allocations: 116.9 kB / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3089, allocations: 0 / 439.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.3092, allocations: 47.89 kB / 439.8 MB, free: 14.51 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.0001276/0.3093, allocations: 103.2 kB / 439.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3096, allocations: 123.9 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3096, allocations: 0 / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3098, allocations: 54.22 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3101, allocations: 27.97 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3112, allocations: 0.5342 MB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3116, allocations: 0.7239 MB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.3117, allocations: 17.42 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3117, allocations: 19.38 kB / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3117, allocations: 0 / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Templates: time 0.005528/0.3173, allocations: 1.739 MB / 443.1 MB, free: 11.13 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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[50210]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8647192269563675]