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.001339/0.001339, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001627/0.001627, allocations: 212 kB / 24.47 MB, free: 3.547 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.434/1.434, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.002308/0.002308, allocations: 57.64 kB / 347.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2939, allocations: 49.15 MB / 396.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003306/0.2972, allocations: 2.003 MB / 398.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2984, allocations: 0.5491 MB / 399 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2985, allocations: 3.562 kB / 399 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2987, allocations: 33.84 kB / 399 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2988, allocations: 56.42 kB / 399 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.2991, allocations: 55.97 kB / 399.1 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.2994, allocations: 235.7 kB / 399.3 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2996, allocations: 63.41 kB / 399.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2997, allocations: 90.42 kB / 399.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2999, allocations: 84.58 kB / 399.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.2999, allocations: 20.06 kB / 399.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.933e-05/0.3, allocations: 21.41 kB / 399.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.3, allocations: 44.88 kB / 399.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.3001, allocations: 85.86 kB / 399.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.3004, allocations: 239.3 kB / 400 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3004, allocations: 1.031 kB / 400 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3004, allocations: 0.7031 kB / 400 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3005, allocations: 7.938 kB / 400 MB, free: 6.637 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.0006989/0.3012, allocations: 424.3 kB / 400.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3012, allocations: 13.2 kB / 400.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.3012, allocations: 53.95 kB / 400.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3013, allocations: 18.53 kB / 400.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3016, allocations: 167.4 kB / 400.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3016, allocations: 15.31 kB / 400.6 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3016, allocations: 17.09 kB / 400.7 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.302, allocations: 234.2 kB / 400.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.302, allocations: 0.5156 kB / 400.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.302, allocations: 6.938 kB / 400.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.302, allocations: 4.156 kB / 400.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3023, allocations: 142.2 kB / 401 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3034, allocations: 0.6535 MB / 401.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.3038, allocations: 158.3 kB / 401.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.304, allocations: 91.41 kB / 401.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.304, allocations: 2.438 kB / 401.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3041, allocations: 33.28 kB / 402 MB, free: 5.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3041, allocations: 0 / 402 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000481/0.3046, allocations: 187.6 kB / 402.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.3046, allocations: 57.27 kB / 402.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3047, allocations: 155.2 kB / 402.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.3047, allocations: 26.73 kB / 402.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3048, allocations: 140.7 kB / 402.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3048, allocations: 49.36 kB / 402.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3049, allocations: 35.16 kB / 402.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.305, allocations: 326.9 kB / 402.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3051, allocations: 50.38 kB / 403 MB, free: 4.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3052, allocations: 75 kB / 403.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3054, allocations: 123.8 kB / 403.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3055, allocations: 0 / 403.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003158/0.3058, allocations: 180.5 kB / 403.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3058, allocations: 6.484 kB / 403.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3058, allocations: 3.938 kB / 403.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3058, allocations: 1.188 kB / 403.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.306, allocations: 44.56 kB / 403.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.306, allocations: 6.234 kB / 403.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.746e-05/0.3061, allocations: 19.09 kB / 403.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3061, allocations: 3.844 kB / 403.4 MB, free: 4.164 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.599e-05/0.3062, allocations: 121.3 kB / 403.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3063, allocations: 14.52 kB / 403.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.3063, allocations: 23.75 kB / 403.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3063, allocations: 2.547 kB / 403.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3063, allocations: 1.312 kB / 403.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3063, allocations: 0.75 kB / 403.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.3066, allocations: 223.5 kB / 403.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3066, allocations: 4.797 kB / 403.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3068, allocations: 42.45 kB / 403.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3068, allocations: 4.906 kB / 403.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3068, allocations: 5.031 kB / 403.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3068, allocations: 1.797 kB / 403.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3068, allocations: 0 / 403.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.3072, allocations: 303.2 kB / 404.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3072, allocations: 11.89 kB / 404.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3073, allocations: 10.58 kB / 404.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3074, allocations: 11.78 kB / 404.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3074, allocations: 10.98 kB / 404.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3074, allocations: 3.219 kB / 404.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.3075, allocations: 114.9 kB / 404.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 3.938 kB / 404.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3078, allocations: 47.83 kB / 404.4 MB, free: 3.477 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.0005605/0.3083, allocations: 0.8301 MB / 405.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3086, allocations: 119 kB / 405.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3086, allocations: 0 / 405.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.3088, allocations: 63.16 kB / 405.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3091, allocations: 26.77 kB / 405.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.3113, allocations: 2.067 MB / 407.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.12e-05/0.3114, allocations: 109.5 kB / 407.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.3115, allocations: 10.31 kB / 407.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.3116, allocations: 48.52 kB / 407.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3116, allocations: 0 / 407.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.3442, allocations: 4.069 MB / 411.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.74, allocations: 9.047 kB / 411.7 MB, free: 15.28 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: 14.78438804903999]