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.001557/0.001557, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001777/0.001777, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001686/0.001686, allocations: 47.92 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2488, allocations: 53.36 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003921/0.2527, allocations: 2.168 MB / 434.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2539, allocations: 0.5805 MB / 435.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.2541, allocations: 7.938 kB / 435.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2542, allocations: 31.7 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.2544, allocations: 51.44 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2546, allocations: 59.86 kB / 435.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.2549, allocations: 227.1 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.2551, allocations: 65.77 kB / 435.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2552, allocations: 91.66 kB / 435.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2554, allocations: 107.6 kB / 435.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.009e-05/0.2555, allocations: 20 kB / 435.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.2555, allocations: 20 kB / 435.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.2555, allocations: 43.84 kB / 435.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2557, allocations: 95.59 kB / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.256, allocations: 240.3 kB / 436.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.256, allocations: 0 / 436.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.256, allocations: 0 / 436.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.256, allocations: 0 / 436.2 MB, free: 3.098 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.0007918/0.2568, allocations: 429.5 kB / 436.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2568, allocations: 8.031 kB / 436.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.2569, allocations: 28.73 kB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2572, allocations: 164.6 kB / 436.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.2572, allocations: 20.38 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.2573, allocations: 16.38 kB / 436.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.2577, allocations: 185.8 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2577, allocations: 0 / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2577, allocations: 8 kB / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2577, allocations: 4 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.258, allocations: 139.9 kB / 437.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2593, allocations: 0.7032 MB / 437.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2597, allocations: 150.5 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.2599, allocations: 88.83 kB / 438.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2599, allocations: 0 / 438.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.2599, allocations: 34.55 kB / 438.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.2599, allocations: 8 kB / 438.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004557/0.2604, allocations: 181.4 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2604, allocations: 63.33 kB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2606, allocations: 151.6 kB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2606, allocations: 29.7 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.2607, allocations: 140.2 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.2607, allocations: 43.58 kB / 438.7 MB, free: 376 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.2608, allocations: 41.7 kB / 438.8 MB, free: 328 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2609, allocations: 318.8 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2611, allocations: 52.06 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.2612, allocations: 80.7 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.2615, allocations: 128.8 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2615, allocations: 0 / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003398/0.2618, allocations: 173.5 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2618, allocations: 4 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2618, allocations: 3.984 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2619, allocations: 7.938 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.2621, allocations: 39.92 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2621, allocations: 0 / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.2622, allocations: 27.91 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2622, allocations: 4 kB / 439.6 MB, free: 15.47 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.0001196/0.2623, allocations: 121.8 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.2624, allocations: 15.91 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.2624, allocations: 20.72 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2624, allocations: 7.984 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2624, allocations: 0 / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2624, allocations: 0 / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.2627, allocations: 232.6 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2627, allocations: 8 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.2629, allocations: 35.92 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2629, allocations: 0 / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.263, allocations: 3.938 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.263, allocations: 3.984 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.263, allocations: 4 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.2634, allocations: 299.4 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.2635, allocations: 15.84 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.2635, allocations: 7.938 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2636, allocations: 16.03 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.2637, allocations: 11.92 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2637, allocations: 0 / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.2638, allocations: 116.6 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2638, allocations: 4 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000284/0.2641, allocations: 47.89 kB / 440.6 MB, free: 14.45 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.0001014/0.2642, allocations: 103.2 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.2645, allocations: 119.8 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2645, allocations: 0 / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2646, allocations: 63.91 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2649, allocations: 32.03 kB / 440.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.266, allocations: 0.5437 MB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2664, allocations: 0.7278 MB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.2665, allocations: 15.44 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2665, allocations: 0 / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Templates: time 0.00429/0.2707, allocations: 2.039 MB / 444.2 MB, free: 10.76 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: 6.8839383909944445]