Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.8 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 8 kB / 264 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2871, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002879/0.29, allocations: 1.696 MB / 310.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2913, allocations: 0.5467 MB / 310.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.2915, allocations: 7.938 kB / 310.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.839e-05/0.2916, allocations: 23.83 kB / 310.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.2918, allocations: 63.84 kB / 310.9 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.292, allocations: 35.95 kB / 310.9 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.2924, allocations: 163.5 kB / 311.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2926, allocations: 58.08 kB / 311.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2927, allocations: 71.78 kB / 311.2 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.2929, allocations: 87.66 kB / 311.3 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.2929, allocations: 15.94 kB / 311.3 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.293, allocations: 12 kB / 311.3 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.2931, allocations: 35.78 kB / 311.4 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.2931, allocations: 61.64 kB / 311.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2934, allocations: 164.5 kB / 311.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2934, allocations: 0 / 311.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2934, allocations: 0 / 311.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2934, allocations: 4 kB / 311.6 MB, free: 9.598 MB / 250.7 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.0009351/0.2944, allocations: 462.7 kB / 312 MB, free: 9.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.2944, allocations: 12.03 kB / 312.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.2945, allocations: 54.55 kB / 312.1 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.2946, allocations: 23.75 kB / 312.1 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.2949, allocations: 226.6 kB / 312.4 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.295, allocations: 19.95 kB / 312.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.295, allocations: 16 kB / 312.4 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.2956, allocations: 177.6 kB / 312.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2956, allocations: 0 / 312.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2957, allocations: 4 kB / 312.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2957, allocations: 8 kB / 312.6 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.2962, allocations: 151.9 kB / 312.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.298, allocations: 0.7546 MB / 313.5 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.2987, allocations: 174.5 kB / 313.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2988, allocations: 0 / 313.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.2988, allocations: 34.56 kB / 313.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.2988, allocations: 0 / 313.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007416/0.2996, allocations: 201.4 kB / 313.9 MB, free: 7.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2996, allocations: 55.41 kB / 313.9 MB, free: 7.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.2998, allocations: 142.4 kB / 314.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.2999, allocations: 33.64 kB / 314.1 MB, free: 6.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3, allocations: 136 kB / 314.2 MB, free: 6.719 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.3, allocations: 55.34 kB / 314.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.3001, allocations: 4 kB / 314.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3002, allocations: 322.8 kB / 314.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3004, allocations: 51.97 kB / 314.7 MB, free: 6.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.3007, allocations: 81.67 kB / 314.7 MB, free: 6.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.301, allocations: 55.98 kB / 314.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.301, allocations: 0 / 314.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005702/0.3016, allocations: 189.4 kB / 315 MB, free: 5.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3016, allocations: 4 kB / 315 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3016, allocations: 4 kB / 315 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3016, allocations: 7.922 kB / 315 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.302, allocations: 43.97 kB / 315 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.302, allocations: 3.938 kB / 315 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3022, allocations: 19.84 kB / 315.1 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3023, allocations: 4 kB / 315.1 MB, free: 5.867 MB / 250.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.3025, allocations: 133.8 kB / 315.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.3025, allocations: 15.77 kB / 315.2 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.3026, allocations: 16.84 kB / 315.2 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3026, allocations: 0 / 315.2 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3026, allocations: 0 / 315.2 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3026, allocations: 0 / 315.2 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.3031, allocations: 261.8 kB / 315.5 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3031, allocations: 4 kB / 315.5 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.3035, allocations: 39.91 kB / 315.5 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3035, allocations: 7.953 kB / 315.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3036, allocations: 8 kB / 315.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3036, allocations: 0 / 315.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3036, allocations: 0 / 315.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.3044, allocations: 319.3 kB / 315.9 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.3045, allocations: 85.02 kB / 315.9 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.3046, allocations: 11.95 kB / 315.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3048, allocations: 15.92 kB / 316 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.3049, allocations: 11.98 kB / 316 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3049, allocations: 4 kB / 316 MB, free: 4.859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.305, allocations: 113.9 kB / 316.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.637e-06/0.305, allocations: 0 / 316.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.3054, allocations: 51.78 kB / 316.1 MB, free: 4.699 MB / 250.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.3066, allocations: 0.8451 MB / 317 MB, free: 3.824 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.3071, allocations: 138.2 kB / 317.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3071, allocations: 0 / 317.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.3073, allocations: 67.91 kB / 317.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3077, allocations: 19.95 kB / 317.2 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.3107, allocations: 1.188 MB / 318.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3111, allocations: 0.7282 MB / 319.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.3112, allocations: 25.34 kB / 319.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3114, allocations: 43.42 kB / 319.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3114, allocations: 0 / 319.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.3392, allocations: 2.935 MB / 322.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/0.3396, allocations: 174.6 kB / 322.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.672, allocations: 3.938 kB / 322.3 MB, free: 14.41 MB / 266.7 MB "" 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