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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_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.001382/0.001382, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001316/0.001316, allocations: 183 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1083, allocations: 46.61 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003876/0.1122, allocations: 2.121 MB / 376.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1137, allocations: 0.5734 MB / 377.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.114, allocations: 4 kB / 377.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1142, allocations: 31.7 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1145, allocations: 59.48 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1148, allocations: 47.94 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.1151, allocations: 242.8 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.1154, allocations: 81.64 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1155, allocations: 87.75 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1157, allocations: 95.61 kB / 378 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.1158, allocations: 20 kB / 378 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.931e-05/0.1158, allocations: 24 kB / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1159, allocations: 43.84 kB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.116, allocations: 103.5 kB / 378.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1163, allocations: 243.4 kB / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1163, allocations: 0 / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1163, allocations: 0 / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.1163, allocations: 0 / 378.4 MB, free: 1.297 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.0008558/0.1172, allocations: 498.8 kB / 378.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1173, allocations: 12.03 kB / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.1173, allocations: 50.73 kB / 379 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1174, allocations: 20.75 kB / 379 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1178, allocations: 220 kB / 379.2 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1178, allocations: 12.38 kB / 379.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.1178, allocations: 20.38 kB / 379.2 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.1182, allocations: 185.7 kB / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1182, allocations: 0 / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1183, allocations: 4 kB / 379.4 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1183, allocations: 4 kB / 379.4 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.1186, allocations: 147.8 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2645/0.3831, allocations: 0.736 MB / 380.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.3836, allocations: 156.6 kB / 380.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3838, allocations: 97.06 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3838, allocations: 5.297 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3838, allocations: 32.78 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.356e-06/0.3839, allocations: 6.297 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000504/0.3844, allocations: 184.7 kB / 380.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3844, allocations: 55.36 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3846, allocations: 149.8 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3846, allocations: 30.27 kB / 381 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.3847, allocations: 130.7 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.3847, allocations: 45.95 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.3848, allocations: 33.75 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3849, allocations: 328.1 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3851, allocations: 52.75 kB / 381.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.3852, allocations: 80.95 kB / 381.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3855, allocations: 119.3 kB / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3855, allocations: 0 / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003802/0.3859, allocations: 182.3 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3859, allocations: 5.281 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.386, allocations: 1.156 kB / 381.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.386, allocations: 4.453 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.3863, allocations: 42.81 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3863, allocations: 3.203 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3864, allocations: 21.48 kB / 382 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3864, allocations: 6.906 kB / 382 MB, free: 11.86 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.0001065/0.3865, allocations: 129.9 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.3866, allocations: 11.48 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.3866, allocations: 19.23 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3867, allocations: 1.375 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.3867, allocations: 6.906 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.3867, allocations: 9.344 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.3871, allocations: 269.1 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3871, allocations: 0 / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.3874, allocations: 38.58 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3874, allocations: 1.031 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3874, allocations: 3.844 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3874, allocations: 0.5625 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3875, allocations: 4.953 kB / 382.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.3881, allocations: 302 kB / 382.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.3881, allocations: 89.78 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3882, allocations: 1 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3883, allocations: 19.05 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.3884, allocations: 7.172 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3884, allocations: 7.734 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3886, allocations: 114.9 kB / 383 MB, free: 11.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.033e-06/0.3886, allocations: 0 / 383 MB, free: 11.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.389, allocations: 51.25 kB / 383.1 MB, free: 11.14 MB / 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.0008876/0.3899, allocations: 0.8359 MB / 383.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.3903, allocations: 128.6 kB / 384 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3903, allocations: 0.9375 kB / 384.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.3905, allocations: 63.19 kB / 384.1 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3909, allocations: 28.97 kB / 384.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.3939, allocations: 2.047 MB / 386.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3941, allocations: 0.7234 MB / 386.9 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.3943, allocations: 11.5 kB / 386.9 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3944, allocations: 47.34 kB / 387 MB, free: 8.066 MB / 318.1 MB Notification: Performance of SimCode: time 1.532e-06/0.3944, allocations: 5.469 kB / 387 MB, free: 8.062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.424, allocations: 3.429 MB / 390.4 MB, free: 7.438 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.902, allocations: 16.77 kB / 390.4 MB, free: 7.422 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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