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.001767/0.001767, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002058/0.002058, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.00172/0.00172, allocations: 47.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2474, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003852/0.2512, allocations: 2.044 MB / 434.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2525, allocations: 0.5415 MB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2526, allocations: 4 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.2528, allocations: 31.7 kB / 435 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.253, allocations: 55.48 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.2533, allocations: 51.92 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.2536, allocations: 235 kB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.2538, allocations: 56.67 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.254, allocations: 95.75 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.2541, allocations: 87.55 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.2542, allocations: 20 kB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.2543, allocations: 20 kB / 435.6 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.2543, allocations: 47.84 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2544, allocations: 83.66 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.2547, allocations: 238.8 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2548, allocations: 0 / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2548, allocations: 4 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.2548, allocations: 0 / 435.9 MB, free: 3.129 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.0008361/0.2556, allocations: 428.2 kB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2556, allocations: 8.031 kB / 436.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.2557, allocations: 24.8 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.256, allocations: 162.2 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2561, allocations: 24.31 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.2561, allocations: 20.36 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.2565, allocations: 229.3 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2565, allocations: 0 / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2566, allocations: 8 kB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.2566, allocations: 7.984 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.2569, allocations: 139.9 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.2581, allocations: 0.6257 MB / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.2586, allocations: 158.5 kB / 437.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2588, allocations: 84.83 kB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.2588, allocations: 0 / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.2588, allocations: 38.56 kB / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2588, allocations: 0 / 437.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004906/0.2593, allocations: 177.8 kB / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2594, allocations: 59.34 kB / 438.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2595, allocations: 150 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2595, allocations: 29.7 kB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2596, allocations: 140.2 kB / 438.4 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.2597, allocations: 55.58 kB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.2597, allocations: 33.7 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2599, allocations: 322.8 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.26, allocations: 51.97 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2602, allocations: 72.52 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.2604, allocations: 117.7 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2604, allocations: 0 / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003655/0.2608, allocations: 188 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2608, allocations: 4 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2608, allocations: 3.938 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2609, allocations: 4 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.2611, allocations: 39.92 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2611, allocations: 0 / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2612, allocations: 23.89 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2612, allocations: 7.938 kB / 439.3 MB, free: 15.54 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.000125/0.2613, allocations: 121.8 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.2614, allocations: 15.91 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.2614, allocations: 20.77 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2614, allocations: 4 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2614, allocations: 0 / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2614, allocations: 3.938 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.2617, allocations: 173.3 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2617, allocations: 3.938 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.2619, allocations: 39.97 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.2619, allocations: 4 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2619, allocations: 4 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2619, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.262, allocations: 0 / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.2625, allocations: 306.5 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.2625, allocations: 7.953 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2625, allocations: 11.94 kB / 440 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2627, allocations: 15.98 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.2627, allocations: 7.984 kB / 440 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2627, allocations: 8 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.2628, allocations: 115.2 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2628, allocations: 0 / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.2631, allocations: 47.89 kB / 440.2 MB, free: 14.59 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.0001091/0.2632, allocations: 99.23 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.2636, allocations: 115.9 kB / 440.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2636, allocations: 4 kB / 440.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2637, allocations: 59.91 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.264, allocations: 23.97 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2651, allocations: 0.5554 MB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2652, allocations: 107.9 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.2653, allocations: 15.44 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2653, allocations: 3.938 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Templates: time 0.004426/0.2697, allocations: 2.045 MB / 443.2 MB, free: 11.52 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/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_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: 7.154681674670428]