Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009466/0.0009466, allocations: 76.81 kB / 22.28 MB, free: 2.203 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.0009654/0.0009654, allocations: 167.3 kB / 25.7 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8791/0.8791, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.62e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002134/0.00215, allocations: 2.118 MB / 253.7 MB, free: 5.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.002972, allocations: 0.5852 MB / 254.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.003064, allocations: 7.938 kB / 254.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.00317, allocations: 35.7 kB / 254.3 MB, free: 4.488 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.003255, allocations: 51.48 kB / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.003412, allocations: 55.92 kB / 254.4 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.003618, allocations: 242.7 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.003747, allocations: 58.42 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.003887, allocations: 131.8 kB / 254.8 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.003994, allocations: 67.84 kB / 254.9 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.004028, allocations: 28 kB / 254.9 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.004051, allocations: 20 kB / 254.9 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.004086, allocations: 43.83 kB / 255 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.004141, allocations: 75.83 kB / 255 MB, free: 3.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.00431, allocations: 167.4 kB / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004312, allocations: 0 / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004312, allocations: 0 / 255.2 MB, free: 3.566 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004317, allocations: 0 / 255.2 MB, free: 3.566 MB / 234.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.0004167/0.004733, allocations: 392.1 kB / 255.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.004767, allocations: 11.98 kB / 255.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.004816, allocations: 36.91 kB / 255.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.004966, allocations: 145.4 kB / 255.8 MB, free: 2.945 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.004986, allocations: 16.36 kB / 255.8 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.005013, allocations: 20.38 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.00519, allocations: 182.3 kB / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.005196, allocations: 192 / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.005208, allocations: 12.38 kB / 256 MB, free: 2.699 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005215, allocations: 7.938 kB / 256 MB, free: 2.691 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.005277, allocations: 51.86 kB / 256.1 MB, free: 2.641 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.005847, allocations: 0.5128 MB / 256.6 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.005982, allocations: 86.53 kB / 256.7 MB, free: 2 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.00604, allocations: 48.84 kB / 256.7 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.006051, allocations: 0 / 256.7 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.006073, allocations: 34.56 kB / 256.7 MB, free: 1.906 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.006074, allocations: 0 / 256.7 MB, free: 1.906 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001568/0.006231, allocations: 97.84 kB / 256.8 MB, free: 1.805 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.006258, allocations: 55.41 kB / 256.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.006338, allocations: 142.6 kB / 257 MB, free: 1.582 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006352, allocations: 33.7 kB / 257.1 MB, free: 1.543 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.00641, allocations: 136.2 kB / 257.2 MB, free: 1.406 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.00644, allocations: 55.45 kB / 257.2 MB, free: 1.352 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.006484, allocations: 33.7 kB / 257.3 MB, free: 1.312 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.006575, allocations: 326.8 kB / 257.6 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.006598, allocations: 12 kB / 257.6 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.006638, allocations: 37.69 kB / 257.6 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.816e-05/0.006706, allocations: 61.47 kB / 257.7 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006708, allocations: 0 / 257.7 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001058/0.006814, allocations: 101.6 kB / 257.8 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.006826, allocations: 11.38 kB / 257.8 MB, free: 0.75 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.006833, allocations: 0 / 257.8 MB, free: 0.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.006852, allocations: 7.984 kB / 257.8 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.00702, allocations: 35.98 kB / 257.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.007024, allocations: 0 / 257.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.007074, allocations: 11.95 kB / 257.9 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.007084, allocations: 7.984 kB / 257.9 MB, free: 0.6875 MB / 234.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 8.531e-05/0.007169, allocations: 125.7 kB / 258 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.007193, allocations: 12.03 kB / 258 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.007224, allocations: 20.77 kB / 258 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.007227, allocations: 0 / 258 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007229, allocations: 4 kB / 258 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007232, allocations: 0 / 258 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.007378, allocations: 117.7 kB / 258.2 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007379, allocations: 0 / 258.2 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.007487, allocations: 43.91 kB / 258.2 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.00749, allocations: 4 kB / 258.2 MB, free: 344 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.007499, allocations: 4 kB / 258.2 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.0075, allocations: 0 / 258.2 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007501, allocations: 4 kB / 258.2 MB, free: 336 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.007676, allocations: 211.1 kB / 258.4 MB, free: 116 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.007692, allocations: 11.89 kB / 258.4 MB, free: 104 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.007708, allocations: 7.984 kB / 258.4 MB, free: 96 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.007778, allocations: 8 kB / 258.4 MB, free: 88 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.007816, allocations: 7.984 kB / 258.5 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.007822, allocations: 4 kB / 258.5 MB, free: 76 kB / 234.7 MB Notification: Performance of sorting global known variables: time 2.736e-05/0.00785, allocations: 33.84 kB / 258.5 MB, free: 40 kB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00785, allocations: 0 / 258.5 MB, free: 40 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.00801, allocations: 59.94 kB / 258.5 MB, free: 15.98 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 7.152e-05/0.008082, allocations: 88.36 kB / 258.6 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.47e-05/0.008177, allocations: 60.84 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.00818, allocations: 0 / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.008216, allocations: 40.77 kB / 258.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.008373, allocations: 23.98 kB / 258.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.00903, allocations: 411.7 kB / 259.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.009068, allocations: 71.84 kB / 259.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.009115, allocations: 9.141 kB / 259.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.009199, allocations: 83.28 kB / 259.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.0092, allocations: 0 / 259.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of Templates: time 0.003162/0.01236, allocations: 1.692 MB / 261 MB, free: 13.46 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time filterSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.ref.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.801555977202952]