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.00142/0.00142, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001486/0.001486, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 18.57 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.439/1.439, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.383e-06/1.383e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.688e-05, allocations: 6.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003716/0.003743, allocations: 2.018 MB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.004889, allocations: 0.5258 MB / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.005012, allocations: 4 kB / 269.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.005176, allocations: 31.64 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.005305, allocations: 63.42 kB / 270 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.005505, allocations: 55.91 kB / 270 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.005839, allocations: 238.9 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.006004, allocations: 53.77 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.006206, allocations: 131.8 kB / 270.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006351, allocations: 71.78 kB / 270.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.006392, allocations: 20 kB / 270.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.006438, allocations: 24 kB / 270.6 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.006496, allocations: 51.81 kB / 270.6 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.006593, allocations: 71.89 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.006938, allocations: 243.2 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.006941, allocations: 3.938 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006942, allocations: 0 / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006948, allocations: 0 / 270.9 MB, free: 3.086 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.0008742/0.007822, allocations: 425.4 kB / 271.3 MB, free: 2.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.007861, allocations: 12.92 kB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.007956, allocations: 36.8 kB / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.008281, allocations: 157.5 kB / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.008309, allocations: 12.38 kB / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.008358, allocations: 20.38 kB / 271.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.008819, allocations: 229.5 kB / 271.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.008831, allocations: 192 / 271.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.008857, allocations: 4.375 kB / 271.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.008867, allocations: 7.938 kB / 271.8 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.009215, allocations: 151.8 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.0105, allocations: 0.6379 MB / 272.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.01093, allocations: 146.6 kB / 272.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.01113, allocations: 88.81 kB / 272.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.01115, allocations: 4 kB / 272.8 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.01119, allocations: 34.56 kB / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.01119, allocations: 0 / 272.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000557/0.01175, allocations: 193.8 kB / 273.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.01179, allocations: 55.41 kB / 273.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01196, allocations: 146.1 kB / 273.2 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01199, allocations: 25.7 kB / 273.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.0121, allocations: 140.2 kB / 273.4 MB, free: 424 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.01216, allocations: 51.62 kB / 273.5 MB, free: 372 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.01222, allocations: 25.72 kB / 273.5 MB, free: 340 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.01241, allocations: 330.8 kB / 273.8 MB, free: 0 / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.01258, allocations: 52.16 kB / 273.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01274, allocations: 77.62 kB / 273.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.01302, allocations: 124.4 kB / 274.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01303, allocations: 0 / 274.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003976/0.01342, allocations: 181.5 kB / 274.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01344, allocations: 4 kB / 274.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01345, allocations: 0 / 274.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.01346, allocations: 4.031 kB / 274.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.0137, allocations: 47.91 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01371, allocations: 0 / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01382, allocations: 23.86 kB / 274.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01384, allocations: 4 kB / 274.3 MB, free: 15.47 MB / 266.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 0.0001462/0.01398, allocations: 133.5 kB / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.01404, allocations: 15.91 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.01408, allocations: 16.78 kB / 274.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.01408, allocations: 4 kB / 274.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01409, allocations: 4 kB / 274.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01409, allocations: 3.984 kB / 274.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.01462, allocations: 189.1 kB / 274.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01462, allocations: 0 / 274.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.01485, allocations: 35.97 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01486, allocations: 0 / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.01487, allocations: 0 / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.01487, allocations: 4 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.01488, allocations: 3.938 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.01545, allocations: 307.3 kB / 275 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.01548, allocations: 11.98 kB / 275 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.0155, allocations: 4 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.01566, allocations: 12 kB / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.01572, allocations: 11.97 kB / 275.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.01573, allocations: 0 / 275.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.01583, allocations: 114.4 kB / 275.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01583, allocations: 0 / 275.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.01614, allocations: 47.89 kB / 275.2 MB, free: 14.52 MB / 266.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.0001453/0.01628, allocations: 110.7 kB / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.01661, allocations: 111.9 kB / 275.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01661, allocations: 0 / 275.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.01675, allocations: 59.91 kB / 275.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.01709, allocations: 31.94 kB / 275.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.01812, allocations: 452.6 kB / 276 MB, free: 13.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.01825, allocations: 112 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.288e-05/0.01833, allocations: 13.14 kB / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.01838, allocations: 20.5 kB / 276.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01838, allocations: 0 / 276.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005117/0.02349, allocations: 1.556 MB / 277.7 MB, free: 12.03 MB / 266.7 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: 5.019013248034753]