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.005134/0.005134, allocations: 101 kB / 21.96 MB, free: 5.199 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.001358/0.001358, allocations: 214 kB / 25.25 MB, free: 3.141 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.398/1.398, allocations: 207.7 MB / 236.1 MB, free: 9.82 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.001683/0.001683, allocations: 53.42 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2464, allocations: 49.15 MB / 397.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002815/0.2492, allocations: 2.002 MB / 399.2 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2502, allocations: 0.5532 MB / 399.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2503, allocations: 2.469 kB / 399.7 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2505, allocations: 28.5 kB / 399.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.2506, allocations: 54.23 kB / 399.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.2508, allocations: 52.36 kB / 399.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2511, allocations: 241.2 kB / 400.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2512, allocations: 67.31 kB / 400.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2513, allocations: 95.42 kB / 400.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2515, allocations: 99.94 kB / 400.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2515, allocations: 20.44 kB / 400.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.2515, allocations: 21.19 kB / 400.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.2516, allocations: 37.83 kB / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.2517, allocations: 89.11 kB / 400.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.2519, allocations: 236.7 kB / 400.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2519, allocations: 0 / 400.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2519, allocations: 0.6562 kB / 400.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2519, allocations: 1.375 kB / 400.8 MB, free: 6.668 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.0006546/0.2526, allocations: 430.7 kB / 401.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2526, allocations: 14.52 kB / 401.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.2527, allocations: 4.156 kB / 401.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.2527, allocations: 57.36 kB / 401.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.2527, allocations: 23.83 kB / 401.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.253, allocations: 163.6 kB / 401.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.253, allocations: 16.09 kB / 401.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.253, allocations: 20.34 kB / 401.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.2534, allocations: 230.7 kB / 401.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2534, allocations: 1.531 kB / 401.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2534, allocations: 10.28 kB / 401.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2534, allocations: 3.344 kB / 401.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.2537, allocations: 142.4 kB / 401.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009733/0.2547, allocations: 0.6584 MB / 402.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.255, allocations: 154.2 kB / 402.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2552, allocations: 83.33 kB / 402.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2552, allocations: 6.203 kB / 402.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.2552, allocations: 37.44 kB / 402.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2553, allocations: 0 / 402.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004628/0.2557, allocations: 191.5 kB / 403 MB, free: 5.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2557, allocations: 52.88 kB / 403 MB, free: 5.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2559, allocations: 155.7 kB / 403.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2559, allocations: 30.67 kB / 403.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.2559, allocations: 136.5 kB / 403.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.256, allocations: 53.23 kB / 403.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.2561, allocations: 30.36 kB / 403.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.2561, allocations: 326.8 kB / 403.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2563, allocations: 54.16 kB / 403.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.2564, allocations: 67.28 kB / 403.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.2566, allocations: 132.8 kB / 404 MB, free: 4.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2566, allocations: 0 / 404 MB, free: 4.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002977/0.2569, allocations: 173.2 kB / 404.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2569, allocations: 10 kB / 404.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2569, allocations: 0 / 404.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2569, allocations: 1.062 kB / 404.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2572, allocations: 48.75 kB / 404.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2572, allocations: 1.062 kB / 404.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.2573, allocations: 19.17 kB / 404.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2573, allocations: 8.062 kB / 404.2 MB, free: 4.18 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 7.414e-05/0.2573, allocations: 125.2 kB / 404.4 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.2574, allocations: 14.36 kB / 404.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.2574, allocations: 17.83 kB / 404.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2574, allocations: 2.125 kB / 404.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2574, allocations: 0 / 404.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2574, allocations: 1.031 kB / 404.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2576, allocations: 218 kB / 404.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2576, allocations: 2.391 kB / 404.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.2578, allocations: 37.78 kB / 404.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2578, allocations: 9.469 kB / 404.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2579, allocations: 13 kB / 404.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2579, allocations: 1.844 kB / 404.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2579, allocations: 0 / 404.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.2583, allocations: 302 kB / 405 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.2583, allocations: 12.36 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2583, allocations: 10.69 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.2585, allocations: 15.41 kB / 405 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.2585, allocations: 11.84 kB / 405 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2585, allocations: 2.781 kB / 405 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.2586, allocations: 115 kB / 405.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2586, allocations: 0 / 405.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.2589, allocations: 48.45 kB / 405.2 MB, free: 3.496 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.0005619/0.2594, allocations: 0.8384 MB / 406 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.2597, allocations: 118.6 kB / 406.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2597, allocations: 2 kB / 406.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2598, allocations: 57.77 kB / 406.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2601, allocations: 18.52 kB / 406.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2622, allocations: 2.065 MB / 408.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.2623, allocations: 117.3 kB / 408.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.2624, allocations: 10.69 kB / 408.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.2625, allocations: 47.16 kB / 408.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2625, allocations: 1.031 kB / 408.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.2982, allocations: 3.748 MB / 412.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.94, allocations: 11.94 kB / 412.2 MB, free: 15.64 MB / 334.1 MB " [Timeout remaining time 649] (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: 15.566031275084242]