Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.89 kB / 373.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1102, allocations: 53.32 MB / 426.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00352/0.1137, allocations: 2.178 MB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1148, allocations: 0.5766 MB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.81e-05/0.1149, allocations: 7.938 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.115, allocations: 23.72 kB / 429.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1151, allocations: 55.48 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1153, allocations: 59.92 kB / 429.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1156, allocations: 231 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1158, allocations: 65.64 kB / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1159, allocations: 83.72 kB / 429.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.116, allocations: 99.59 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1161, allocations: 23.94 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.1161, allocations: 20 kB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1161, allocations: 39.91 kB / 430.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1163, allocations: 103.5 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.1166, allocations: 235.1 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1166, allocations: 4 kB / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1166, allocations: 0 / 430.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1166, allocations: 0 / 430.5 MB, free: 1.23 MB / 350.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.000801/0.1174, allocations: 494.6 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1174, allocations: 12.03 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.1175, allocations: 50.73 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1175, allocations: 28.8 kB / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1179, allocations: 229.2 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.1179, allocations: 16.38 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.118, allocations: 24.36 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.1183, allocations: 185.6 kB / 431.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1183, allocations: 0 / 431.5 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1183, allocations: 4 kB / 431.5 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1184, allocations: 4 kB / 431.5 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1187, allocations: 148 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1199, allocations: 0.7391 MB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1203, allocations: 146.5 kB / 432.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1205, allocations: 88.83 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1205, allocations: 4 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1205, allocations: 34.56 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1205, allocations: 0 / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004626/0.121, allocations: 188.5 kB / 432.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1211, allocations: 59.34 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1212, allocations: 145.8 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1212, allocations: 37.7 kB / 433.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.1213, allocations: 144.2 kB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1214, allocations: 47.52 kB / 433.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.1214, allocations: 33.72 kB / 433.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1216, allocations: 322.8 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1217, allocations: 51.92 kB / 433.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1218, allocations: 73.69 kB / 433.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1221, allocations: 121.7 kB / 433.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1221, allocations: 0 / 433.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000331/0.1224, allocations: 175.6 kB / 434 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1224, allocations: 4 kB / 434 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1224, allocations: 7.938 kB / 434 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1224, allocations: 4.031 kB / 434 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1227, allocations: 43.91 kB / 434.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1227, allocations: 0 / 434.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1228, allocations: 19.89 kB / 434.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1228, allocations: 7.938 kB / 434.1 MB, free: 13.34 MB / 366.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.0001138/0.1229, allocations: 125.8 kB / 434.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1229, allocations: 15.91 kB / 434.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.123, allocations: 20.78 kB / 434.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.123, allocations: 4 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.123, allocations: 0 / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.123, allocations: 0 / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1233, allocations: 265.5 kB / 434.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1233, allocations: 4 kB / 434.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.1235, allocations: 39.91 kB / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1235, allocations: 0 / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1235, allocations: 3.938 kB / 434.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1235, allocations: 4 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1235, allocations: 4 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.124, allocations: 303.4 kB / 434.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1241, allocations: 89.02 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1241, allocations: 7.938 kB / 435 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1242, allocations: 16.03 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.1243, allocations: 11.98 kB / 435 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.1243, allocations: 0 / 435 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.1244, allocations: 118.6 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1244, allocations: 4 kB / 435.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1247, allocations: 43.89 kB / 435.1 MB, free: 12.19 MB / 366.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.0008799/0.1256, allocations: 0.8321 MB / 436 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.1259, allocations: 123.9 kB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1259, allocations: 0 / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.126, allocations: 63.84 kB / 436.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1263, allocations: 24.05 kB / 436.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.1289, allocations: 2.066 MB / 438.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1292, allocations: 0.7201 MB / 439 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.1293, allocations: 9.438 kB / 439 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.1294, allocations: 59.34 kB / 439 MB, free: 8.168 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1294, allocations: 0 / 439 MB, free: 8.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.1569, allocations: 3.413 MB / 442.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.384, allocations: 7.922 kB / 442.5 MB, free: 4.848 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.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 [Calling sys.exit(0), Time elapsed: 12.699276944622397]