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.001488/0.001488, 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.001741/0.001741, allocations: 201.2 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.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2675, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003298/0.2708, allocations: 2.155 MB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.2718, allocations: 0.5688 MB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.272, allocations: 4 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2721, allocations: 31.7 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2723, allocations: 55.48 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.2725, allocations: 55.92 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.2727, allocations: 235 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.2729, allocations: 77.66 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.2731, allocations: 87.7 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.2733, allocations: 95.61 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.2733, allocations: 24 kB / 412.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.2734, allocations: 20 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.2734, allocations: 43.84 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.2735, allocations: 107.5 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2738, allocations: 236.9 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2738, allocations: 0 / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2738, allocations: 0 / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.2738, 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.0008201/0.2747, allocations: 494.8 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2747, allocations: 8.031 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.2748, allocations: 54.73 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.2748, allocations: 28.64 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.2751, allocations: 216 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.2752, allocations: 12.38 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.2752, allocations: 20.31 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.2756, allocations: 189.7 kB / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2756, allocations: 0 / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2756, allocations: 4 kB / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2756, allocations: 4 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.2759, allocations: 147.8 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2771, allocations: 0.739 MB / 414.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.2775, allocations: 162.5 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.2776, allocations: 96.81 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.2777, allocations: 256 / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2777, allocations: 34.56 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.2777, allocations: 0 / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000462/0.2782, allocations: 193.1 kB / 414.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2782, allocations: 55.34 kB / 415 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2784, allocations: 161 kB / 415.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2784, allocations: 25.7 kB / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.2785, allocations: 136.2 kB / 415.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.2786, allocations: 47.34 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.2786, allocations: 33.7 kB / 415.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2788, allocations: 326.8 kB / 415.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2789, allocations: 51.97 kB / 415.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.279, allocations: 72.38 kB / 415.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.2793, allocations: 125.5 kB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2793, allocations: 4 kB / 415.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003348/0.2796, allocations: 177.4 kB / 416.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2796, allocations: 4 kB / 416.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2797, allocations: 3.938 kB / 416.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2797, allocations: 4 kB / 416.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2799, allocations: 43.97 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2799, allocations: 0 / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.28, allocations: 15.84 kB / 416.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.2801, allocations: 8 kB / 416.2 MB, free: 9.844 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.0001173/0.2802, allocations: 129.8 kB / 416.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.2802, allocations: 11.91 kB / 416.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.2803, allocations: 28.77 kB / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2803, allocations: 0 / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2803, allocations: 0 / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2803, allocations: 0 / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.2806, allocations: 265.4 kB / 416.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2806, allocations: 0 / 416.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2808, allocations: 51.91 kB / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2808, allocations: 0 / 416.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2809, allocations: 3.938 kB / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2809, allocations: 0 / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2809, allocations: 0 / 416.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.2814, allocations: 295.3 kB / 416.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.2814, allocations: 92.95 kB / 417 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.2815, allocations: 15.94 kB / 417 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2816, allocations: 8 kB / 417.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2817, allocations: 15.98 kB / 417.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.2817, allocations: 0 / 417.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.2818, allocations: 115.2 kB / 417.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2818, allocations: 0 / 417.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.2821, 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.0007596/0.2828, allocations: 0.8411 MB / 418.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2831, allocations: 122.2 kB / 418.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2831, allocations: 4.062 kB / 418.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.2833, allocations: 67.41 kB / 418.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2836, allocations: 19.98 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.002554/0.2861, allocations: 2.062 MB / 420.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2864, allocations: 0.724 MB / 421.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.2865, allocations: 13.42 kB / 421.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.2866, allocations: 47.42 kB / 421.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2866, allocations: 0 / 421.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.311, allocations: 3.428 MB / 424.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.86, allocations: 15.91 kB / 424.6 MB, free: 1.32 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