Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2815, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003147/0.2846, allocations: 2.158 MB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2858, allocations: 0.5649 MB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.286, allocations: 8 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.2862, allocations: 31.7 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2863, allocations: 59.47 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.2865, allocations: 47.94 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.2868, allocations: 231 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.287, allocations: 81.64 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.2873, allocations: 91.64 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2874, allocations: 99.61 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2875, allocations: 20 kB / 412.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.403e-05/0.2875, allocations: 24 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.2876, allocations: 43.84 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.2877, allocations: 95.59 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.288, allocations: 236.9 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.288, allocations: 7.984 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.288, allocations: 0 / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.288, allocations: 0 / 412.5 MB, free: 13.73 MB / 334.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.0007313/0.2887, allocations: 494.8 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2888, allocations: 8.031 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.2889, allocations: 50.73 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.2889, allocations: 24.66 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.2892, allocations: 223.9 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2893, allocations: 20.38 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.2893, allocations: 16.38 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.2896, allocations: 177.7 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2897, allocations: 0 / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.2897, allocations: 12 kB / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2897, allocations: 4 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.29, allocations: 135.9 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.2912, allocations: 0.7429 MB / 414.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2916, allocations: 166.4 kB / 414.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2918, allocations: 88.83 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2919, allocations: 8.234 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2919, allocations: 34.56 kB / 414.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2919, allocations: 0 / 414.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004395/0.2923, allocations: 185.5 kB / 414.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2924, allocations: 59.33 kB / 415 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2925, allocations: 157.2 kB / 415.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2925, allocations: 29.7 kB / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.2926, allocations: 132.2 kB / 415.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.2927, allocations: 51.34 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.2927, allocations: 33.7 kB / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2928, allocations: 322.8 kB / 415.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.293, allocations: 51.98 kB / 415.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2931, allocations: 80.02 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.2933, allocations: 124.2 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2933, allocations: 0 / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003103/0.2937, allocations: 173.4 kB / 416.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2937, allocations: 8 kB / 416.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2937, allocations: 7.922 kB / 416.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2937, allocations: 0 / 416.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.294, allocations: 39.92 kB / 416.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.294, allocations: 8.031 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2941, allocations: 19.83 kB / 416.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2941, allocations: 4 kB / 416.2 MB, free: 9.848 MB / 334.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.0001032/0.2942, allocations: 129.8 kB / 416.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2943, allocations: 7.906 kB / 416.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.2943, allocations: 20.78 kB / 416.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2943, allocations: 3.984 kB / 416.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2943, allocations: 7.938 kB / 416.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2943, allocations: 4 kB / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.2946, allocations: 265.4 kB / 416.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2947, allocations: 0 / 416.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.2949, allocations: 35.97 kB / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2949, allocations: 0 / 416.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.2949, allocations: 15.92 kB / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.2949, allocations: 0 / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2949, allocations: 0 / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.2954, allocations: 299.3 kB / 416.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.2954, allocations: 89.02 kB / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.2955, allocations: 3.938 kB / 417 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2956, allocations: 23.95 kB / 417.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.2957, allocations: 7.984 kB / 417.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2957, allocations: 4 kB / 417.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.91e-05/0.2958, allocations: 119.2 kB / 417.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 417.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.2961, allocations: 47.84 kB / 417.2 MB, free: 8.688 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.0007653/0.2968, allocations: 0.8405 MB / 418.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.2972, allocations: 116 kB / 418.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2972, allocations: 0 / 418.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2973, allocations: 63.91 kB / 418.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2977, allocations: 35.25 kB / 418.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.3002, allocations: 2.055 MB / 420.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3006, allocations: 0.724 MB / 421.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.3007, allocations: 9.422 kB / 421.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.3008, allocations: 51.42 kB / 421.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3008, allocations: 0 / 421.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.3234, allocations: 3.424 MB / 424.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.028, allocations: 17.88 kB / 424.6 MB, free: 1.332 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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