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.002168/0.002168, allocations: 108.2 kB / 21.18 MB, free: 0.5586 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.00288/0.00288, allocations: 212.6 kB / 24.49 MB, free: 3.91 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.612/1.612, allocations: 207.6 MB / 235.3 MB, free: 9.992 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="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"}) [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.002077/0.002077, allocations: 47.94 kB / 347.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00568/0.372, allocations: 2.144 MB / 398.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3737, allocations: 0.5844 MB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.3739, allocations: 6.938 kB / 399.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3741, allocations: 33.69 kB / 399.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.3742, allocations: 53.72 kB / 399.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.3745, allocations: 56.44 kB / 399.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.3748, allocations: 233.9 kB / 399.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.375, allocations: 59.11 kB / 399.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3751, allocations: 91.62 kB / 399.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.3752, allocations: 103.2 kB / 399.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.3753, allocations: 21.59 kB / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.623e-05/0.3753, allocations: 20.97 kB / 399.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.3754, allocations: 45.62 kB / 399.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3755, allocations: 101.2 kB / 399.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.3758, allocations: 238.2 kB / 400.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3758, allocations: 0 / 400.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3758, allocations: 0 / 400.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3758, allocations: 1.469 kB / 400.2 MB, free: 6.562 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.0009135/0.3768, allocations: 427 kB / 400.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.345e-05/0.3768, allocations: 14.45 kB / 400.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.254e-05/0.3769, allocations: 52.33 kB / 400.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.867e-05/0.377, allocations: 18.91 kB / 400.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.3774, allocations: 168.2 kB / 400.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3775, allocations: 11.25 kB / 400.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.3775, allocations: 25.45 kB / 400.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.378, allocations: 178.5 kB / 401 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.378, allocations: 0 / 401 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3781, allocations: 6.5 kB / 401 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3781, allocations: 3.656 kB / 401 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.3784, allocations: 142.2 kB / 401.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3799, allocations: 0.7034 MB / 401.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.3802, allocations: 153.5 kB / 402 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.3804, allocations: 88.7 kB / 402.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3805, allocations: 1.75 kB / 402.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3805, allocations: 35.84 kB / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.3805, allocations: 0.9375 kB / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004916/0.381, allocations: 187 kB / 402.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.381, allocations: 60.59 kB / 402.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3811, allocations: 156.2 kB / 402.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3812, allocations: 30.31 kB / 402.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3812, allocations: 135.8 kB / 402.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.3813, allocations: 49.98 kB / 402.8 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.3813, allocations: 38.91 kB / 402.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.3814, allocations: 321.7 kB / 403.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3816, allocations: 50.89 kB / 403.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.3817, allocations: 73.47 kB / 403.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3819, allocations: 123.1 kB / 403.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.382, allocations: 1.438 kB / 403.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003257/0.3823, allocations: 182.7 kB / 403.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3823, allocations: 5.344 kB / 403.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3823, allocations: 4.969 kB / 403.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.3823, allocations: 1.125 kB / 403.6 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.3826, allocations: 42.95 kB / 403.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3826, allocations: 2.531 kB / 403.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3827, allocations: 23.91 kB / 403.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3827, allocations: 3.344 kB / 403.6 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.209e-05/0.3828, allocations: 125.8 kB / 403.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.3828, allocations: 13.66 kB / 403.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.3829, allocations: 19.19 kB / 403.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3829, allocations: 5.125 kB / 403.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3829, allocations: 0 / 403.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3829, allocations: 0 / 403.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3831, allocations: 239.8 kB / 404 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3831, allocations: 9.094 kB / 404 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3834, allocations: 39.48 kB / 404.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3834, allocations: 0.9688 kB / 404.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3834, allocations: 9 kB / 404.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3834, allocations: 1 kB / 404.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3834, allocations: 0 / 404.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.3838, allocations: 298.5 kB / 404.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.3838, allocations: 12.22 kB / 404.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3839, allocations: 14.19 kB / 404.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.384, allocations: 9.938 kB / 404.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.3841, allocations: 13.12 kB / 404.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3841, allocations: 6.875 kB / 404.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.552e-05/0.3842, allocations: 114.8 kB / 404.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3842, allocations: 0 / 404.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.3845, allocations: 53.02 kB / 404.6 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.000658/0.3851, allocations: 0.8309 MB / 405.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.3855, allocations: 122.9 kB / 405.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3855, allocations: 1.281 kB / 405.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3856, allocations: 56.44 kB / 405.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.3861, allocations: 24.14 kB / 405.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.3886, allocations: 2.059 MB / 407.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.3888, allocations: 0.7241 MB / 408.4 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.3888, allocations: 14.3 kB / 408.4 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.3889, allocations: 52.61 kB / 408.5 MB, free: 304 kB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3889, allocations: 0 / 408.5 MB, free: 304 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.4256, allocations: 3.593 MB / 412.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.46, allocations: 9.016 kB / 412.1 MB, free: 15.07 MB / 334.1 MB " [Timeout remaining time 647] (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.953720178920776]