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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 118.3 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 202.3 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 52.56 kB / 343 MB, free: 9.934 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1093, allocations: 49.12 MB / 392.2 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003845/0.1131, allocations: 2.129 MB / 394.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1142, allocations: 0.5853 MB / 394.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1143, allocations: 4 kB / 394.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.1144, allocations: 39.64 kB / 394.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.1145, allocations: 43.56 kB / 395 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1148, allocations: 59.86 kB / 395 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.1151, allocations: 234.9 kB / 395.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.1153, allocations: 69.78 kB / 395.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1154, allocations: 95.77 kB / 395.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1156, allocations: 95.55 kB / 395.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1156, allocations: 24 kB / 395.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.1157, allocations: 20 kB / 395.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1157, allocations: 47.83 kB / 395.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1159, allocations: 95.59 kB / 395.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1162, allocations: 239 kB / 395.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1162, allocations: 0 / 395.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1162, allocations: 0 / 395.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1162, allocations: 0 / 395.9 MB, free: 4.867 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.0009502/0.1172, allocations: 0.4908 MB / 396.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1172, allocations: 8.031 kB / 396.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.117e-05/0.1172, allocations: 4.188 kB / 396.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.1173, allocations: 54.73 kB / 396.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.1174, allocations: 20.84 kB / 396.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.1178, allocations: 224 kB / 396.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.1178, allocations: 16.38 kB / 396.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.1179, allocations: 16.38 kB / 396.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.1183, allocations: 193.4 kB / 396.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1183, allocations: 0 / 396.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1184, allocations: 4 kB / 396.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1184, allocations: 4 kB / 397 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.1187, allocations: 139.9 kB / 397.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.1202, allocations: 0.7392 MB / 397.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.1206, allocations: 146.6 kB / 398 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.1208, allocations: 92.77 kB / 398.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1209, allocations: 0 / 398.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1209, allocations: 38.55 kB / 398.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1209, allocations: 0 / 398.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005255/0.1214, allocations: 197.7 kB / 398.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1215, allocations: 51.41 kB / 398.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1216, allocations: 149.8 kB / 398.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1217, allocations: 25.7 kB / 398.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1218, allocations: 140.3 kB / 398.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.1218, allocations: 55.53 kB / 398.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.1219, allocations: 33.7 kB / 398.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1221, allocations: 322.8 kB / 399.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1222, allocations: 51.92 kB / 399.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1224, allocations: 81.56 kB / 399.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1226, allocations: 129.6 kB / 399.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1226, allocations: 0 / 399.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00037/0.123, allocations: 177.4 kB / 399.5 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.123, allocations: 7.938 kB / 399.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.123, allocations: 0 / 399.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1231, allocations: 7.984 kB / 399.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.1233, allocations: 36.02 kB / 399.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1233, allocations: 4 kB / 399.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1234, allocations: 23.88 kB / 399.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1234, allocations: 4 kB / 399.6 MB, free: 0.9648 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.0001431/0.1236, allocations: 121.8 kB / 399.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.1236, allocations: 15.89 kB / 399.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.1237, allocations: 20.84 kB / 399.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1237, allocations: 0 / 399.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.1237, allocations: 3.984 kB / 399.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1237, allocations: 4 kB / 399.7 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.124, allocations: 261.5 kB / 400 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.124, allocations: 0 / 400 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1243, allocations: 43.92 kB / 400 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1243, allocations: 3.938 kB / 400 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1243, allocations: 0 / 400 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.1243, allocations: 3.984 kB / 400 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1243, allocations: 0 / 400 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.1248, allocations: 299.4 kB / 400.3 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.1249, allocations: 97.05 kB / 400.4 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.125, allocations: 11.92 kB / 400.4 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1251, allocations: 12.08 kB / 400.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.1252, allocations: 11.94 kB / 400.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1252, allocations: 0 / 400.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1253, allocations: 119.2 kB / 400.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1253, allocations: 0 / 400.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1256, allocations: 43.95 kB / 400.6 MB, free: 15.82 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.0009352/0.1265, allocations: 0.8488 MB / 401.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1269, allocations: 115.9 kB / 401.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1269, allocations: 0 / 401.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1271, allocations: 63.91 kB / 401.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1274, allocations: 31.91 kB / 401.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.1305, allocations: 2.059 MB / 403.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.131, allocations: 0.724 MB / 404.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.155e-05/0.1311, allocations: 13.42 kB / 404.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.1312, allocations: 47.42 kB / 404.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1312, allocations: 0 / 404.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1557, allocations: 3.446 MB / 408 MB, free: 8.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/8.725, allocations: 16.92 kB / 408 MB, free: 8.27 MB / 334.1 MB " [Timeout remaining time 651] (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 --stepSize=1 --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) [Timeout 52.5] 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) [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: 13.83777118200669]