Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001642/0.001642, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001752/0.001752, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.91 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2475, allocations: 53.42 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003465/0.251, allocations: 2.027 MB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.252, allocations: 0.5494 MB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.2521, allocations: 7.938 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.2522, allocations: 31.7 kB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.2523, allocations: 59.48 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.2525, allocations: 51.94 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2528, allocations: 231 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.253, allocations: 57.42 kB / 435.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2531, allocations: 95.64 kB / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2532, allocations: 83.61 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.2533, allocations: 20 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.066e-05/0.2533, allocations: 20 kB / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.2533, allocations: 43.89 kB / 435.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.14e-05/0.2534, allocations: 87.66 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2537, allocations: 238.1 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2537, allocations: 0 / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2537, allocations: 0 / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2537, allocations: 7.938 kB / 436 MB, free: 2.941 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.0007364/0.2545, allocations: 429.4 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2545, allocations: 15.98 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.2546, allocations: 24.8 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.2548, allocations: 162.2 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2549, allocations: 12.38 kB / 436.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.2549, allocations: 24.31 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.2553, allocations: 229.3 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2553, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.2553, allocations: 4 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2553, allocations: 7.938 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.2556, allocations: 147.9 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2568, allocations: 0.6218 MB / 437.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2571, allocations: 150.5 kB / 437.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.2573, allocations: 88.81 kB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2573, allocations: 4 kB / 437.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2574, allocations: 30.56 kB / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2574, allocations: 0 / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004611/0.2578, allocations: 185.8 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2579, allocations: 59.34 kB / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.258, allocations: 148.8 kB / 438.3 MB, free: 472 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.258, allocations: 33.7 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.2581, allocations: 140.2 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.2582, allocations: 51.53 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.2582, allocations: 33.7 kB / 438.5 MB, free: 196 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2584, allocations: 318.8 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2585, allocations: 47.97 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2587, allocations: 81.67 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.2589, allocations: 117.7 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2589, allocations: 0 / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003351/0.2592, allocations: 176.1 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2593, allocations: 8 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2593, allocations: 0 / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2593, allocations: 4.031 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.2595, allocations: 43.91 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2595, allocations: 4 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2596, allocations: 19.86 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2596, allocations: 4 kB / 439.4 MB, free: 15.36 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.0001074/0.2597, allocations: 125.8 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.2598, allocations: 11.91 kB / 439.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.2598, allocations: 16.78 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2598, allocations: 0 / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2598, allocations: 4 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2598, allocations: 15.91 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.2601, allocations: 173.3 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2601, allocations: 0 / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2603, allocations: 47.91 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2603, allocations: 0 / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2603, allocations: 4 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2603, allocations: 0 / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2603, allocations: 3.938 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.2608, allocations: 306.5 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.2608, allocations: 15.98 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.2608, allocations: 0 / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2609, allocations: 8 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.261, allocations: 23.91 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.261, allocations: 7.938 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.06e-05/0.2611, allocations: 117.9 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2611, allocations: 0 / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.2614, allocations: 47.89 kB / 440.3 MB, free: 14.4 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.0001126/0.2615, allocations: 99.25 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.2618, allocations: 119.9 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2618, allocations: 0 / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2619, allocations: 59.91 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2622, allocations: 27.98 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2633, allocations: 0.5398 MB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2634, allocations: 115.9 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.2634, allocations: 15.44 kB / 441.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2634, allocations: 0 / 441.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Templates: time 0.003945/0.2674, allocations: 2.052 MB / 443.3 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.194180256221443]