Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 96.58 kB / 20.96 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 154.9 kB / 24.25 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.972e-05, allocations: 5.406 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004714/0.004744, allocations: 2.026 MB / 269.3 MB, free: 8.141 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.006104, allocations: 0.5142 MB / 269.9 MB, free: 7.621 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.006221, allocations: 3.938 kB / 269.9 MB, free: 7.617 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.006379, allocations: 31.72 kB / 269.9 MB, free: 7.586 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.006561, allocations: 59.48 kB / 270 MB, free: 7.527 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.006808, allocations: 47.92 kB / 270 MB, free: 7.48 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.007225, allocations: 242.9 kB / 270.2 MB, free: 7.242 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.007449, allocations: 61.7 kB / 270.3 MB, free: 7.18 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.007708, allocations: 131.8 kB / 270.4 MB, free: 7.051 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.007897, allocations: 71.78 kB / 270.5 MB, free: 6.98 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.007961, allocations: 24 kB / 270.5 MB, free: 6.957 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.008028, allocations: 20 kB / 270.5 MB, free: 6.938 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.008098, allocations: 47.83 kB / 270.6 MB, free: 6.891 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.008246, allocations: 71.83 kB / 270.7 MB, free: 6.82 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.008682, allocations: 243.3 kB / 270.9 MB, free: 6.582 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008686, allocations: 3.938 kB / 270.9 MB, free: 6.578 MB / 254.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.008687, allocations: 0 / 270.9 MB, free: 6.578 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.008692, allocations: 0 / 270.9 MB, free: 6.578 MB / 254.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.001055/0.009747, allocations: 421.5 kB / 271.3 MB, free: 6.137 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.009793, allocations: 8.922 kB / 271.3 MB, free: 6.129 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.009912, allocations: 40.8 kB / 271.4 MB, free: 6.09 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.0103, allocations: 165.4 kB / 271.5 MB, free: 5.902 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.01034, allocations: 20.33 kB / 271.5 MB, free: 5.883 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.0104, allocations: 16.38 kB / 271.6 MB, free: 5.867 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.01099, allocations: 229.5 kB / 271.8 MB, free: 5.625 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.011, allocations: 192 / 271.8 MB, free: 5.625 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.01103, allocations: 12.38 kB / 271.8 MB, free: 5.613 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01105, allocations: 7.938 kB / 271.8 MB, free: 5.605 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.01156, allocations: 139.8 kB / 271.9 MB, free: 5.469 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.01328, allocations: 0.6341 MB / 272.6 MB, free: 4.785 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.01388, allocations: 146.6 kB / 272.7 MB, free: 4.633 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.01416, allocations: 88.83 kB / 272.8 MB, free: 4.543 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.01418, allocations: 0 / 272.8 MB, free: 4.543 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.01421, allocations: 38.5 kB / 272.8 MB, free: 4.496 MB / 254.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.01422, allocations: 4 kB / 272.8 MB, free: 4.492 MB / 254.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007291/0.01495, allocations: 185.8 kB / 273 MB, free: 4.305 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.01499, allocations: 51.41 kB / 273.1 MB, free: 4.242 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.0152, allocations: 146.1 kB / 273.2 MB, free: 4.086 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.01525, allocations: 37.64 kB / 273.2 MB, free: 4.043 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01538, allocations: 140.2 kB / 273.4 MB, free: 3.902 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.01543, allocations: 39.64 kB / 273.4 MB, free: 3.863 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01554, allocations: 37.7 kB / 273.5 MB, free: 3.82 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.01574, allocations: 330.8 kB / 273.8 MB, free: 3.488 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.01596, allocations: 51.92 kB / 273.8 MB, free: 3.438 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.01618, allocations: 76.55 kB / 273.9 MB, free: 3.359 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.01659, allocations: 121.6 kB / 274 MB, free: 3.234 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01659, allocations: 0 / 274 MB, free: 3.234 MB / 254.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005633/0.01715, allocations: 179.8 kB / 274.2 MB, free: 3.055 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.01717, allocations: 12 kB / 274.2 MB, free: 3.043 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01718, allocations: 3.984 kB / 274.2 MB, free: 3.039 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.0172, allocations: 0 / 274.2 MB, free: 3.039 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.01756, allocations: 43.97 kB / 274.3 MB, free: 2.996 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.01757, allocations: 4 kB / 274.3 MB, free: 2.992 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.01774, allocations: 19.83 kB / 274.3 MB, free: 2.973 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.01776, allocations: 8 kB / 274.3 MB, free: 2.965 MB / 254.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.0001515/0.01791, allocations: 125.8 kB / 274.4 MB, free: 2.832 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.01799, allocations: 23.89 kB / 274.4 MB, free: 2.809 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.01804, allocations: 20.77 kB / 274.5 MB, free: 2.789 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01805, allocations: 4 kB / 274.5 MB, free: 2.785 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01805, allocations: 0 / 274.5 MB, free: 2.785 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01806, allocations: 0 / 274.5 MB, free: 2.785 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.01844, allocations: 181.1 kB / 274.6 MB, free: 2.578 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01844, allocations: 0 / 274.6 MB, free: 2.578 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.01878, allocations: 39.91 kB / 274.7 MB, free: 2.539 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01879, allocations: 4 kB / 274.7 MB, free: 2.535 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.01881, allocations: 4 kB / 274.7 MB, free: 2.531 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01881, allocations: 0 / 274.7 MB, free: 2.531 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01881, allocations: 4 kB / 274.7 MB, free: 2.527 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.01957, allocations: 308.4 kB / 275 MB, free: 2.211 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.0196, allocations: 7.953 kB / 275 MB, free: 2.203 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.01964, allocations: 4 kB / 275 MB, free: 2.199 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.01989, allocations: 15.97 kB / 275 MB, free: 2.184 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.01995, allocations: 11.98 kB / 275 MB, free: 2.172 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.01996, allocations: 4 kB / 275 MB, free: 2.168 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.02009, allocations: 115.2 kB / 275.1 MB, free: 2.055 MB / 254.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02009, allocations: 0 / 275.1 MB, free: 2.055 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.0206, allocations: 51.84 kB / 275.2 MB, free: 2.004 MB / 254.1 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.0001325/0.02073, allocations: 99.19 kB / 275.3 MB, free: 1.898 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.02121, allocations: 126.5 kB / 275.4 MB, free: 1.777 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02121, allocations: 0 / 275.4 MB, free: 1.777 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.02142, allocations: 55.92 kB / 275.5 MB, free: 1.723 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.02194, allocations: 31.98 kB / 275.5 MB, free: 1.691 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.02326, allocations: 456.6 kB / 276 MB, free: 1.219 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.02343, allocations: 108.1 kB / 276.1 MB, free: 1.09 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.02353, allocations: 13.14 kB / 276.1 MB, free: 1.074 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.0236, allocations: 16.5 kB / 276.1 MB, free: 1.059 MB / 254.1 MB Notification: Performance of SimCode: time 5.11e-07/0.0236, allocations: 0 / 276.1 MB, free: 1.059 MB / 254.1 MB Notification: Performance of Templates: time 0.00615/0.02975, allocations: 1.553 MB / 277.6 MB, free: 15.52 MB / 270.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time [Calling sys.exit(0), Time elapsed: 4.738895416259766]