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.00189/0.00189, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002326/0.002326, allocations: 205.7 kB / 24.49 MB, free: 3.969 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001563/0.001563, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2105, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003246/0.2137, allocations: 2.042 MB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.2147, allocations: 0.5455 MB / 434.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.2148, allocations: 7.938 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2149, allocations: 27.72 kB / 435 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.215, allocations: 55.48 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2152, allocations: 55.92 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2155, allocations: 227 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.2156, allocations: 65.42 kB / 435.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2158, allocations: 91.72 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.2159, allocations: 103.5 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.2159, allocations: 20 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.216, allocations: 20 kB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.216, allocations: 43.84 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.2161, allocations: 91.64 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.2164, allocations: 238.1 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2164, allocations: 0 / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2164, allocations: 0 / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2164, allocations: 0 / 436 MB, free: 3.102 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.0007561/0.2172, allocations: 425.5 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2172, allocations: 8.031 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.2173, allocations: 24.8 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2175, allocations: 170.2 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2175, allocations: 12.38 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.2176, allocations: 16.38 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.218, allocations: 245.2 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.218, allocations: 0 / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.218, allocations: 7.984 kB / 436.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.218, allocations: 8 kB / 436.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.2184, allocations: 139.9 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2195, allocations: 0.6218 MB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.2199, allocations: 154.5 kB / 437.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2201, allocations: 88.83 kB / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2201, allocations: 0 / 437.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.2201, allocations: 34.56 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2201, allocations: 4 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000474/0.2206, allocations: 185.4 kB / 438.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.2206, allocations: 51.41 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2208, allocations: 148.9 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.2208, allocations: 29.7 kB / 438.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.2209, allocations: 140.2 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.2209, allocations: 51.59 kB / 438.5 MB, free: 408 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.221, allocations: 37.7 kB / 438.5 MB, free: 364 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2211, allocations: 330.7 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.2213, allocations: 51.97 kB / 438.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2214, allocations: 69.69 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.2217, allocations: 113.7 kB / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2217, allocations: 0 / 439.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003538/0.222, allocations: 188.2 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2221, allocations: 8 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2221, allocations: 3.938 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2221, allocations: 0 / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2223, allocations: 39.97 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2223, allocations: 7.938 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.2224, allocations: 19.81 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2224, allocations: 4 kB / 439.3 MB, free: 15.51 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.0001071/0.2225, allocations: 129.9 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.2226, allocations: 11.91 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.2226, allocations: 20.77 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2226, allocations: 0 / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2226, allocations: 0 / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.2227, allocations: 11.89 kB / 439.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.2227, allocations: 0 / 439.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2228, allocations: 15.98 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.2229, allocations: 11.98 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005058/0.2234, allocations: 240.8 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005214/0.2239, allocations: 382.6 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000125/0.224, allocations: 48.02 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.181e-05/0.2241, allocations: 110 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Backend: time 2.31e-07/0.2241, allocations: 4 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.2246, allocations: 158.2 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of SimCode: time 0.001048/0.2256, allocations: 0.9342 MB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Templates: time 0.005397/0.231, allocations: 2.328 MB / 443.7 MB, free: 11.07 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[50222]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.412699084998167]