Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001252/0.001252, allocations: 114 kB / 21.18 MB, free: 0.7422 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.00146/0.00146, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 378.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2302, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003326/0.2335, allocations: 2.174 MB / 434.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.2344, allocations: 0.5766 MB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.2345, allocations: 4 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.2347, allocations: 35.64 kB / 434.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2348, allocations: 51.55 kB / 434.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.235, allocations: 63.84 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.2352, allocations: 231 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2354, allocations: 57.66 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2355, allocations: 83.77 kB / 435.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2357, allocations: 95.61 kB / 435.4 MB, free: 4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.2357, allocations: 23.94 kB / 435.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.2357, allocations: 20 kB / 435.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.2358, allocations: 51.78 kB / 435.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2359, allocations: 107.5 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.2362, allocations: 236.6 kB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2362, allocations: 0 / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2362, allocations: 4 kB / 435.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2362, allocations: 0 / 435.9 MB, free: 3.566 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.0008158/0.237, allocations: 494.6 kB / 436.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.237, allocations: 12.03 kB / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.2371, allocations: 24.8 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.2374, allocations: 220.1 kB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2374, allocations: 12.38 kB / 436.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.2375, allocations: 20.38 kB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.2378, allocations: 177.9 kB / 436.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2378, allocations: 0 / 436.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2379, allocations: 12 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2379, allocations: 8 kB / 436.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2382, allocations: 143.8 kB / 437 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2394, allocations: 0.747 MB / 437.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.2398, allocations: 146.6 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.24, allocations: 88.81 kB / 437.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.24, allocations: 7.938 kB / 437.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.24, allocations: 38.56 kB / 438 MB, free: 1.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.24, allocations: 3.938 kB / 438 MB, free: 1.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004783/0.2405, allocations: 181.8 kB / 438.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2406, allocations: 51.41 kB / 438.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2407, allocations: 156.6 kB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2407, allocations: 29.7 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.2408, allocations: 136.3 kB / 438.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.2409, allocations: 51.56 kB / 438.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.2409, allocations: 33.7 kB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2411, allocations: 322.8 kB / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2412, allocations: 55.92 kB / 439 MB, free: 216 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2414, allocations: 73.69 kB / 439.1 MB, free: 136 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.2416, allocations: 128.6 kB / 439.2 MB, free: 4 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2416, allocations: 0 / 439.2 MB, free: 4 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003561/0.242, allocations: 177.4 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.242, allocations: 8.031 kB / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.242, allocations: 0 / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.242, allocations: 7.875 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2422, allocations: 39.98 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2422, allocations: 7.969 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2424, allocations: 19.89 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2424, allocations: 4 kB / 439.4 MB, free: 15.74 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.0001084/0.2425, allocations: 129.8 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.2425, allocations: 19.91 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.2426, allocations: 16.83 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.2426, allocations: 7.922 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2426, allocations: 0 / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.2426, allocations: 85.06 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.2427, allocations: 8 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2428, allocations: 11.98 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.2429, allocations: 11.98 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005228/0.2434, allocations: 236.8 kB / 440 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005173/0.2439, allocations: 377.8 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001268/0.244, allocations: 56 kB / 440.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.2441, allocations: 111.3 kB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2441, allocations: 3.938 kB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.2446, allocations: 154.2 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 0.001079/0.2457, allocations: 0.9524 MB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005119/0.2508, allocations: 2.131 MB / 443.7 MB, free: 11.37 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 4.92889277683571]