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.001522/0.001522, allocations: 116.8 kB / 19.17 MB, free: 3.891 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.001644/0.001644, allocations: 202.6 kB / 22.13 MB, free: 0.9414 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.408/1.408, allocations: 230.5 MB / 255.4 MB, free: 14.93 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.002027/0.002027, allocations: 75.81 kB / 374.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09446, allocations: 53.32 MB / 428.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003485/0.09795, allocations: 2.169 MB / 430.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.09902, allocations: 0.5766 MB / 430.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.09914, allocations: 4 kB / 430.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.09928, allocations: 31.7 kB / 430.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.0994, allocations: 51.5 kB / 431 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.09958, allocations: 63.86 kB / 431 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.09987, allocations: 231 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1, allocations: 61.64 kB / 431.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1002, allocations: 87.77 kB / 431.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1003, allocations: 95.61 kB / 431.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.1004, allocations: 27.94 kB / 431.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.1004, allocations: 20 kB / 431.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.1004, allocations: 39.84 kB / 431.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1005, allocations: 103.5 kB / 431.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1008, allocations: 235.1 kB / 431.9 MB, free: 480 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.1008, allocations: 4 kB / 431.9 MB, free: 476 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1008, allocations: 0 / 431.9 MB, free: 476 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1008, allocations: 4 kB / 431.9 MB, free: 472 kB / 350.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.1647/0.2656, allocations: 493.3 kB / 432.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2656, allocations: 8.438 kB / 432.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.2657, allocations: 23.17 kB / 432.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2659, allocations: 220.3 kB / 432.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.266, allocations: 17.56 kB / 432.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.266, allocations: 19.44 kB / 432.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.2663, allocations: 178.1 kB / 432.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2663, allocations: 0 / 432.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.2664, allocations: 11.03 kB / 432.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2664, allocations: 4.906 kB / 432.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.2667, allocations: 146 kB / 433 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.2676, allocations: 0.7421 MB / 433.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.268, allocations: 151.8 kB / 433.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2681, allocations: 88.39 kB / 434 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2682, allocations: 2.844 kB / 434 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2682, allocations: 32.75 kB / 434 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2682, allocations: 0 / 434 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004326/0.2686, allocations: 188.8 kB / 434.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.2686, allocations: 56.66 kB / 434.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.2687, allocations: 154.3 kB / 434.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2687, allocations: 29.02 kB / 434.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.2688, allocations: 142.8 kB / 434.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.2688, allocations: 46.3 kB / 434.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.2688, allocations: 33.28 kB / 434.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.2689, allocations: 323.9 kB / 435 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.269, allocations: 52.7 kB / 435 MB, free: 9.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2691, allocations: 77.86 kB / 435.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.2693, allocations: 119.8 kB / 435.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2693, allocations: 3.469 kB / 435.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002868/0.2696, allocations: 176.7 kB / 435.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2696, allocations: 5.688 kB / 435.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2696, allocations: 0.875 kB / 435.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2696, allocations: 2.469 kB / 435.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2698, allocations: 51.16 kB / 435.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2698, allocations: 1.25 kB / 435.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.2699, allocations: 18.2 kB / 435.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2699, allocations: 7.062 kB / 435.5 MB, free: 9.812 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 6.313e-05/0.27, allocations: 129.3 kB / 435.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.27, allocations: 16.66 kB / 435.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.2701, allocations: 15.41 kB / 435.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2701, allocations: 5.219 kB / 435.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2701, allocations: 0 / 435.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2701, allocations: 4.328 kB / 435.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.2703, allocations: 267.3 kB / 435.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2703, allocations: 1.938 kB / 435.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2705, allocations: 38.83 kB / 435.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2705, allocations: 3.938 kB / 435.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.2705, allocations: 6.5 kB / 436 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2705, allocations: 11.22 kB / 436 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2705, allocations: 0 / 436 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.2709, allocations: 293.2 kB / 436.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.2709, allocations: 89.05 kB / 436.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.2709, allocations: 8.75 kB / 436.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2711, allocations: 15.77 kB / 436.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.2711, allocations: 9.625 kB / 436.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2711, allocations: 3.828 kB / 436.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.2712, allocations: 114.3 kB / 436.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2712, allocations: 1.031 kB / 436.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.2714, allocations: 47.58 kB / 436.5 MB, free: 9.16 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 8.082e-05/0.2715, allocations: 111.1 kB / 436.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.2718, allocations: 117.7 kB / 436.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2718, allocations: 0 / 436.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2719, allocations: 62.2 kB / 436.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2722, allocations: 25.45 kB / 436.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.273, allocations: 0.5412 MB / 437.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2731, allocations: 0.7238 MB / 438.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.2731, allocations: 16.28 kB / 438.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2731, allocations: 0 / 438.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of Templates: time 0.003728/0.2769, allocations: 2.04 MB / 440.2 MB, free: 7.785 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: 6.809491810039617]