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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002186/0.002185, allocations: 104.3 kB / 17.06 MB, free: 6.027 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.001936/0.001936, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.473/2.473, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 51.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6753/0.6774, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.01421/0.6917, allocations: 2.148 MB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.6934, allocations: 0.5338 MB / 402.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.6936, allocations: 4 kB / 402.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.6939, allocations: 35.66 kB / 403 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.6942, allocations: 55.48 kB / 403 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.6945, allocations: 55.92 kB / 403.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.695, allocations: 231 kB / 403.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.6952, allocations: 77.64 kB / 403.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.6954, allocations: 83.72 kB / 403.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.6957, allocations: 103.6 kB / 403.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.6957, allocations: 23.94 kB / 403.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.6958, allocations: 20 kB / 403.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.6959, allocations: 51.89 kB / 403.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.696, allocations: 99.53 kB / 403.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.6965, allocations: 232.9 kB / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6965, allocations: 0 / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6965, allocations: 0 / 404 MB, free: 5.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.6965, allocations: 0 / 404 MB, free: 5.043 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.001214/0.6977, allocations: 498.8 kB / 404.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.6978, allocations: 12.03 kB / 404.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.125e-05/0.6979, allocations: 50.73 kB / 404.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.698, allocations: 20.75 kB / 404.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.6985, allocations: 220 kB / 404.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.6985, allocations: 16.38 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.6986, allocations: 16.38 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006829/0.7054, allocations: 189.6 kB / 405 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.7055, allocations: 4 kB / 405 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.7056, allocations: 4 kB / 405 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.7056, allocations: 4 kB / 405 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.7062, allocations: 143.9 kB / 405.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.7083, allocations: 0.7467 MB / 405.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.7089, allocations: 158.5 kB / 406 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.7092, allocations: 92.83 kB / 406.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.7093, allocations: 0 / 406.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.7093, allocations: 42.5 kB / 406.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.7093, allocations: 0 / 406.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006787/0.71, allocations: 181.8 kB / 406.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.7101, allocations: 59.34 kB / 406.4 MB, free: 2.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.7103, allocations: 153.7 kB / 406.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.7103, allocations: 33.7 kB / 406.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.7104, allocations: 136.1 kB / 406.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.7105, allocations: 39.36 kB / 406.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.7106, allocations: 33.72 kB / 406.8 MB, free: 2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7108, allocations: 326.8 kB / 407.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.711, allocations: 51.97 kB / 407.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.7112, allocations: 73.64 kB / 407.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.7116, allocations: 128.3 kB / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7116, allocations: 0 / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004945/0.7121, allocations: 177.3 kB / 407.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7121, allocations: 4 kB / 407.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.7122, allocations: 7.938 kB / 407.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.7122, allocations: 0 / 407.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.7125, allocations: 39.97 kB / 407.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7125, allocations: 3.938 kB / 407.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.7127, allocations: 19.84 kB / 407.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.7128, allocations: 7.938 kB / 407.6 MB, free: 1.152 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.0001713/0.713, allocations: 133.9 kB / 407.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.713, allocations: 7.906 kB / 407.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.7131, allocations: 20.78 kB / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7131, allocations: 0 / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7131, allocations: 0 / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7131, allocations: 0 / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.7136, allocations: 273.4 kB / 408 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7136, allocations: 4 kB / 408 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.7139, allocations: 39.91 kB / 408.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.7139, allocations: 4 kB / 408.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.7139, allocations: 7.938 kB / 408.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7139, allocations: 0 / 408.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.714, allocations: 4 kB / 408.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.7146, allocations: 301.6 kB / 408.4 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.7147, allocations: 81.02 kB / 408.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.7148, allocations: 11.94 kB / 408.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.7151, allocations: 16.03 kB / 408.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.7151, allocations: 7.984 kB / 408.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.7152, allocations: 4 kB / 408.5 MB, free: 164 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.7153, allocations: 115.3 kB / 408.6 MB, free: 48 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.983e-06/0.7153, allocations: 3.938 kB / 408.6 MB, free: 44 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.7158, allocations: 55.73 kB / 408.7 MB, free: 15.98 MB / 334.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.009518/0.7253, allocations: 0.8338 MB / 409.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006787/0.726, allocations: 123.9 kB / 409.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7261, allocations: 0 / 409.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.7263, allocations: 63.97 kB / 409.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.727, allocations: 27.08 kB / 409.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.7317, allocations: 2.057 MB / 411.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.7321, allocations: 0.7278 MB / 412.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.7323, allocations: 9.438 kB / 412.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.7325, allocations: 59.34 kB / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.503e-06/0.7325, allocations: 0 / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/0.8646, allocations: 3.423 MB / 416 MB, free: 8.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.42, allocations: 4.562 kB / 416 MB, free: 8.629 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/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.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.useHeatPort,G.v,Gnd.p.i,Gnd.p.v,L.L,L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.useHeatPort,Ro.v,der(C1.v),der(C2.v),der(L.i),time