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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=100000,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=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 111.7 kB / 17.06 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 195.9 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4978, allocations: 49.44 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005831/0.5037, allocations: 2.135 MB / 402.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.5058, allocations: 0.5376 MB / 403.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/0.5062, allocations: 4 kB / 403.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.5065, allocations: 35.7 kB / 403.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.5069, allocations: 59.48 kB / 403.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.5073, allocations: 47.94 kB / 403.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006597/0.508, allocations: 235 kB / 403.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.5084, allocations: 77.59 kB / 403.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.5086, allocations: 91.69 kB / 403.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.5088, allocations: 103.5 kB / 404 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.5088, allocations: 24 kB / 404.1 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.545e-05/0.5089, allocations: 20 kB / 404.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.509, allocations: 39.91 kB / 404.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.5091, allocations: 103.5 kB / 404.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.5096, allocations: 240.3 kB / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.5096, allocations: 0 / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.901e-06/0.5096, allocations: 0 / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.5097, allocations: 0 / 404.5 MB, free: 5.168 MB / 318.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.5107, allocations: 494.8 kB / 404.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5108, allocations: 12.03 kB / 405 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.5108, allocations: 16.75 kB / 405 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.5113, allocations: 220 kB / 405.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.5113, allocations: 20.31 kB / 405.2 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.5114, allocations: 20.38 kB / 405.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.5118, allocations: 185.9 kB / 405.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5118, allocations: 0 / 405.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.5118, allocations: 8 kB / 405.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5118, allocations: 4 kB / 405.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.5121, allocations: 143.9 kB / 405.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.5135, allocations: 0.7428 MB / 406.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.514, allocations: 166.4 kB / 406.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.5142, allocations: 88.83 kB / 406.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.5143, allocations: 4 kB / 406.6 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5143, allocations: 38.55 kB / 406.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.5143, allocations: 0 / 406.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006129/0.5149, allocations: 184 kB / 406.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.515, allocations: 59.28 kB / 406.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5153, allocations: 159.2 kB / 407 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5153, allocations: 25.7 kB / 407 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.5155, allocations: 136.1 kB / 407.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.5156, allocations: 47.36 kB / 407.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.5156, allocations: 29.7 kB / 407.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002971/0.5159, allocations: 326.8 kB / 407.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5161, allocations: 51.98 kB / 407.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.5163, allocations: 76.72 kB / 407.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.5166, allocations: 117.7 kB / 407.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5166, allocations: 0 / 407.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004012/0.517, allocations: 181.3 kB / 408 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.517, allocations: 10.28 kB / 408 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.517, allocations: 0 / 408 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.5171, allocations: 7.922 kB / 408 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.5173, allocations: 47.92 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.5174, allocations: 0 / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.5175, allocations: 15.83 kB / 408 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.5175, allocations: 11.94 kB / 408.1 MB, free: 1.332 MB / 318.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.0001539/0.5177, allocations: 125.9 kB / 408.2 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.5177, allocations: 11.91 kB / 408.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.5178, allocations: 16.78 kB / 408.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.5178, allocations: 4 kB / 408.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.5178, allocations: 3.984 kB / 408.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5178, allocations: 3.984 kB / 408.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.5182, allocations: 265.5 kB / 408.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5182, allocations: 3.938 kB / 408.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.5185, allocations: 35.98 kB / 408.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5185, allocations: 0 / 408.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5185, allocations: 11.94 kB / 408.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5185, allocations: 7.984 kB / 408.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5185, allocations: 0 / 408.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.5191, allocations: 295.3 kB / 408.8 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.5191, allocations: 85.02 kB / 408.9 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.5192, allocations: 15.88 kB / 408.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5193, allocations: 12.03 kB / 408.9 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.5194, allocations: 11.98 kB / 408.9 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.5194, allocations: 4 kB / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.5195, allocations: 117.5 kB / 409.1 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5195, allocations: 0 / 409.1 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.5198, allocations: 47.84 kB / 409.1 MB, free: 184 kB / 318.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.000148/0.5199, allocations: 103.7 kB / 409.2 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.5203, allocations: 127.9 kB / 409.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5203, allocations: 0 / 409.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.5204, allocations: 66.78 kB / 409.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5208, allocations: 28.05 kB / 409.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.5219, allocations: 0.5023 MB / 409.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.5223, allocations: 0.7317 MB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.009e-05/0.5224, allocations: 5.438 kB / 410.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.5225, allocations: 23.42 kB / 410.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5225, allocations: 7.875 kB / 410.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of Templates: time 0.005716/0.5282, allocations: 1.645 MB / 412.3 MB, free: 12.9 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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) 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) "" 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