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.007438/0.007438, allocations: 112 kB / 21.97 MB, free: 5.25 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.001823/0.001823, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.475/1.475, allocations: 207.6 MB / 236.1 MB, free: 9.977 MB / 190.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.001803/0.001803, allocations: 55.94 kB / 348 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2937, allocations: 49.15 MB / 397.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002959/0.2966, allocations: 2.135 MB / 399.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.2975, allocations: 0.5932 MB / 399.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2976, allocations: 3.375 kB / 399.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2978, allocations: 28.25 kB / 399.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2979, allocations: 57.69 kB / 400 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.2981, allocations: 52.5 kB / 400 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.2983, allocations: 238.5 kB / 400.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2985, allocations: 66.88 kB / 400.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2986, allocations: 84.72 kB / 400.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2987, allocations: 102.6 kB / 400.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.2988, allocations: 21 kB / 400.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.2988, allocations: 21.06 kB / 400.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.2989, allocations: 45.72 kB / 400.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.398e-05/0.2989, allocations: 100.7 kB / 400.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.2992, allocations: 245.4 kB / 401 MB, free: 6.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2992, allocations: 1.312 kB / 401 MB, free: 6.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2992, allocations: 0 / 401 MB, free: 6.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2992, allocations: 0 / 401 MB, free: 6.551 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.0006342/0.2999, allocations: 423.7 kB / 401.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2999, allocations: 18.39 kB / 401.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.826e-05/0.2999, allocations: 8.25 kB / 401.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3, allocations: 53.22 kB / 401.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3, allocations: 20.22 kB / 401.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.3003, allocations: 163 kB / 401.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3003, allocations: 15.31 kB / 401.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.3003, allocations: 15.78 kB / 401.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.3007, allocations: 180.1 kB / 401.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3007, allocations: 4 kB / 401.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3007, allocations: 5.312 kB / 401.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3007, allocations: 8.312 kB / 401.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.301, allocations: 147 kB / 402 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.3022, allocations: 0.6949 MB / 402.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.3025, allocations: 150.1 kB / 402.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3027, allocations: 92.17 kB / 402.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3027, allocations: 1.188 kB / 402.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3027, allocations: 32.45 kB / 403 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3027, allocations: 5.25 kB / 403 MB, free: 5.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004764/0.3032, allocations: 189.7 kB / 403.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3033, allocations: 58.81 kB / 403.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3034, allocations: 149.9 kB / 403.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3034, allocations: 26.89 kB / 403.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.3035, allocations: 136.3 kB / 403.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3035, allocations: 50.34 kB / 403.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.3036, allocations: 33.88 kB / 403.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.3036, allocations: 321.8 kB / 403.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3038, allocations: 59.23 kB / 404 MB, free: 4.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3039, allocations: 70.06 kB / 404 MB, free: 4.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3041, allocations: 124.5 kB / 404.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3041, allocations: 0 / 404.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003246/0.3045, allocations: 185.5 kB / 404.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3045, allocations: 10.31 kB / 404.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3045, allocations: 0 / 404.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.3045, allocations: 1 kB / 404.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.3047, allocations: 39.81 kB / 404.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3047, allocations: 1.625 kB / 404.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3049, allocations: 19.61 kB / 404.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3049, allocations: 4.312 kB / 404.4 MB, free: 4.129 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 9.36e-05/0.305, allocations: 132.5 kB / 404.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.305, allocations: 14.7 kB / 404.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.305, allocations: 18.11 kB / 404.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.305, allocations: 1.5 kB / 404.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.305, allocations: 0 / 404.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3051, allocations: 5.328 kB / 404.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3053, allocations: 246.2 kB / 404.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3053, allocations: 5 kB / 404.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3055, allocations: 32.02 kB / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3055, allocations: 8.125 kB / 404.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3056, allocations: 5.062 kB / 404.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3056, allocations: 1.219 kB / 404.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3056, allocations: 7.875 kB / 404.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.306, allocations: 295.5 kB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.306, allocations: 12.8 kB / 405.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3061, allocations: 5.062 kB / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3062, allocations: 18.95 kB / 405.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3063, allocations: 7.594 kB / 405.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3063, allocations: 3.875 kB / 405.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.3064, allocations: 114.6 kB / 405.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3064, allocations: 0 / 405.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3066, allocations: 48.23 kB / 405.4 MB, free: 3.434 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.0005686/0.3072, allocations: 0.8317 MB / 406.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3075, allocations: 123.7 kB / 406.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3075, allocations: 1.281 kB / 406.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3077, allocations: 60.88 kB / 406.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.308, allocations: 23.5 kB / 406.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.3103, allocations: 2.065 MB / 408.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3104, allocations: 0.7277 MB / 409.2 MB, free: 336 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.3105, allocations: 15.78 kB / 409.2 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.3106, allocations: 51.12 kB / 409.3 MB, free: 292 kB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3106, allocations: 0 / 409.3 MB, free: 292 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.3375, allocations: 3.635 MB / 412.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.43, allocations: 6.688 kB / 412.9 MB, free: 15.01 MB / 334.1 MB " [Timeout remaining time 648] (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: 16.195929591951426]