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.001055/0.001055, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0012/0.0012, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9994/0.9994, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.594e-05, allocations: 2.312 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.0106/0.01062, allocations: 2.197 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.01172, allocations: 0.5724 MB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.01182, allocations: 4 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.01196, allocations: 27.72 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.01209, allocations: 59.42 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.01228, allocations: 59.91 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.01257, allocations: 242.9 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.01273, allocations: 58.36 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.01291, allocations: 135.7 kB / 276.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.01305, allocations: 75.77 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.01309, allocations: 20 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.01312, allocations: 24 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.01317, allocations: 43.83 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.01324, allocations: 67.89 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.01346, allocations: 159.5 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.01347, allocations: 4 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01347, allocations: 0 / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.01347, allocations: 0 / 277.2 MB, free: 13.48 MB / 266.7 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.0005394/0.01401, allocations: 400 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.01404, allocations: 8.031 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.0141, allocations: 24.92 kB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.01429, allocations: 149.5 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01431, allocations: 16.38 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.01435, allocations: 16.38 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.01461, allocations: 198.2 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01462, allocations: 192 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.01464, allocations: 12.31 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01465, allocations: 7.938 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.01475, allocations: 39.98 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009766/0.01573, allocations: 0.5127 MB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.01592, allocations: 94.52 kB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.016, allocations: 48.84 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01601, allocations: 11.98 kB / 278.8 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.01604, allocations: 30.56 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.01604, allocations: 3.938 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000198/0.01624, allocations: 89.92 kB / 278.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.01626, allocations: 51.41 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01636, allocations: 149.6 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.01638, allocations: 25.7 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.01644, allocations: 132.2 kB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.01648, allocations: 55.58 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.01653, allocations: 29.69 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.01662, allocations: 322.8 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.01666, allocations: 16 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.01671, allocations: 41.69 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.0168, allocations: 71.25 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01681, allocations: 0 / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001438/0.01695, allocations: 93.5 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01696, allocations: 8 kB / 279.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01697, allocations: 3.984 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01698, allocations: 0 / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.01723, allocations: 62.55 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01723, allocations: 7.969 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.0173, allocations: 11.89 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01731, allocations: 8 kB / 279.9 MB, free: 10.59 MB / 266.7 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 7.432e-05/0.01739, allocations: 121.7 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.01742, allocations: 7.984 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.01745, allocations: 20.78 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01745, allocations: 0 / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01745, allocations: 4 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01746, allocations: 4 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.01764, allocations: 133.6 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01764, allocations: 0 / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.01785, allocations: 43.97 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01786, allocations: 0 / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01787, allocations: 7.938 kB / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01787, allocations: 0 / 280.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01787, allocations: 7.984 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.01809, allocations: 203.4 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.01812, allocations: 15.89 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01814, allocations: 4 kB / 280.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.01825, allocations: 11.98 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.01829, allocations: 7.984 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.0183, allocations: 8 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.01834, allocations: 27.58 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01834, allocations: 0 / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.01858, allocations: 51.84 kB / 280.6 MB, free: 9.875 MB / 266.7 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.766e-05/0.01867, allocations: 84.36 kB / 280.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.0188, allocations: 71.42 kB / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.0188, allocations: 0 / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.01886, allocations: 36.84 kB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.0191, allocations: 23.94 kB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.01995, allocations: 408.5 kB / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.02, allocations: 75.83 kB / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.291e-05/0.02007, allocations: 13.48 kB / 281.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.02019, allocations: 83.36 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02019, allocations: 0 / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of Templates: time 0.004973/0.02517, allocations: 1.827 MB / 283.2 MB, free: 7.25 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] 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","",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[50212]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.692749561276287]