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.0008345/0.0008345, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001947, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001066/0.001066, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002657, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08988/1.121, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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 2.034e-06/2.034e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.371e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003562/0.003586, allocations: 2.217 MB / 246.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004787, allocations: 0.5801 MB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004921, allocations: 8 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.00504, allocations: 31.72 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.005188, allocations: 55.42 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.005382, allocations: 63.84 kB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.005691, allocations: 234.9 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.005859, allocations: 54.42 kB / 247.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.006091, allocations: 143.8 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.006231, allocations: 79.78 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.006273, allocations: 24 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.59e-05/0.006309, allocations: 20 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.00635, allocations: 35.88 kB / 248.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.006426, allocations: 59.88 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.006693, allocations: 139.5 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.751e-05/0.006711, allocations: 0 / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006712, allocations: 0 / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.006727, allocations: 0 / 248.3 MB, free: 10.57 MB / 250.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.0006937/0.007421, allocations: 439.7 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.007465, allocations: 8.031 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.007533, allocations: 36.91 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.007742, allocations: 145.5 kB / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.007769, allocations: 16.31 kB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.007803, allocations: 20.38 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.008063, allocations: 194.2 kB / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.008072, allocations: 192 / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.008089, allocations: 12.38 kB / 249.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.008098, allocations: 7.938 kB / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.00819, allocations: 43.97 kB / 249.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.00903, allocations: 0.5089 MB / 249.7 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.009219, allocations: 94.09 kB / 249.8 MB, free: 8.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.009297, allocations: 56.83 kB / 249.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.009308, allocations: 0 / 249.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.009337, allocations: 34.56 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.009339, allocations: 0 / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002074/0.009546, allocations: 93.91 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.009581, allocations: 55.41 kB / 250 MB, free: 8.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.009681, allocations: 149.3 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.009698, allocations: 29.7 kB / 250.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.009762, allocations: 136.2 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.009803, allocations: 51.52 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.00986, allocations: 37.69 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.009958, allocations: 326.8 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.009993, allocations: 12 kB / 250.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.01004, allocations: 33.7 kB / 250.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.98e-05/0.01013, allocations: 64.98 kB / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01014, allocations: 0 / 250.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001436/0.01028, allocations: 105.5 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.0103, allocations: 7.984 kB / 250.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.0103, allocations: 0 / 250.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01032, allocations: 4 kB / 250.9 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.0106, allocations: 54.91 kB / 251 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.0106, allocations: 0 / 251 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.01067, allocations: 15.89 kB / 251 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01068, allocations: 4 kB / 251 MB, free: 7.629 MB / 250.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 9.082e-05/0.01078, allocations: 129.8 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.01081, allocations: 12 kB / 251.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.01085, allocations: 16.77 kB / 251.2 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01085, allocations: 0 / 251.2 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01085, allocations: 4 kB / 251.2 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01086, allocations: 0 / 251.2 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.01105, allocations: 121.7 kB / 251.3 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01105, allocations: 0 / 251.3 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.01125, allocations: 54.64 kB / 251.3 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.01128, allocations: 15.89 kB / 251.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.01128, allocations: 4 kB / 251.4 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.0113, allocations: 4 kB / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.0113, allocations: 0 / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0113, allocations: 0 / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.01152, allocations: 202.8 kB / 251.6 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01154, allocations: 15.92 kB / 251.6 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01165, allocations: 8 kB / 251.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.01168, allocations: 8.031 kB / 251.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01169, allocations: 7.984 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.01173, allocations: 36.81 kB / 251.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01173, allocations: 0 / 251.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.01196, allocations: 51.84 kB / 251.7 MB, free: 6.906 MB / 250.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 0.0001082/0.01207, allocations: 80.42 kB / 251.8 MB, free: 6.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.0122, allocations: 60.78 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.01221, allocations: 4 kB / 251.8 MB, free: 6.754 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.01226, allocations: 44.66 kB / 251.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01249, allocations: 47.92 kB / 251.9 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.01499, allocations: 409.5 kB / 252.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.549e-05/0.01505, allocations: 75.83 kB / 252.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.01511, allocations: 9.484 kB / 252.4 MB, free: 6.133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.01523, allocations: 79.36 kB / 252.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01523, allocations: 0 / 252.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of Templates: time 0.005036/0.02026, allocations: 1.95 MB / 254.4 MB, free: 4.145 MB / 250.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 -emit_protected -ignoreHideResult -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[50234]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.476543018594384]