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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 114.4 kB / 17.72 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 183.1 kB / 18.65 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 43.94 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005025/0.1141, allocations: 2.124 MB / 376.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1155, allocations: 0.5773 MB / 377.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.1158, allocations: 4 kB / 377.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.116, allocations: 31.72 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1162, allocations: 55.48 kB / 377.4 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1165, allocations: 55.92 kB / 377.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.1169, allocations: 234.8 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.1172, allocations: 85.62 kB / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1174, allocations: 83.78 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1175, allocations: 99.59 kB / 378 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.1176, allocations: 24 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.1176, allocations: 20 kB / 378 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1177, allocations: 39.84 kB / 378.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1178, allocations: 107.5 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1181, allocations: 239 kB / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1182, allocations: 0 / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1182, allocations: 0 / 378.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1182, allocations: 0 / 378.4 MB, free: 1.297 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.0008022/0.119, allocations: 0.4946 MB / 378.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1191, allocations: 8.031 kB / 378.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.1191, allocations: 58.67 kB / 379 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.1192, allocations: 16.84 kB / 379 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1195, allocations: 224 kB / 379.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1196, allocations: 16.38 kB / 379.2 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.1196, allocations: 20.38 kB / 379.2 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.12, allocations: 177.7 kB / 379.4 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.12, allocations: 7.984 kB / 379.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1201, allocations: 8 kB / 379.4 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.1201, allocations: 4 kB / 379.4 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.1204, allocations: 139.9 kB / 379.6 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2304/0.3508, allocations: 0.7382 MB / 380.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.3512, allocations: 152.8 kB / 380.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.3514, allocations: 97.25 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3514, allocations: 5.328 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3515, allocations: 35.31 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.3515, allocations: 0 / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004725/0.352, allocations: 188.1 kB / 380.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.352, allocations: 53.53 kB / 380.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3521, allocations: 150.6 kB / 381 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3522, allocations: 25.7 kB / 381 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.3522, allocations: 137.3 kB / 381.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3523, allocations: 50.83 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3523, allocations: 36.69 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.3524, allocations: 325.3 kB / 381.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3525, allocations: 56.84 kB / 381.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3526, allocations: 71.92 kB / 381.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3529, allocations: 125.1 kB / 381.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3529, allocations: 0 / 381.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003112/0.3532, allocations: 176.9 kB / 381.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3532, allocations: 5.5 kB / 381.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3532, allocations: 1.203 kB / 381.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3533, allocations: 4.875 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3535, allocations: 46.88 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3535, allocations: 1.547 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3536, allocations: 23.19 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3537, allocations: 5.938 kB / 382 MB, free: 11.87 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.439e-05/0.3538, allocations: 128.6 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.3538, allocations: 15.09 kB / 382.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.3539, allocations: 18.02 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3539, allocations: 4.859 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3539, allocations: 0.5938 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3539, allocations: 6.188 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3542, allocations: 261.6 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3542, allocations: 0.6875 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.3544, allocations: 44.41 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3544, allocations: 1.375 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3545, allocations: 2.266 kB / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3545, allocations: 0 / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3545, allocations: 0 / 382.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.355, allocations: 315.8 kB / 382.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.355, allocations: 88.84 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.355, allocations: 6.328 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3552, allocations: 11.09 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.3553, allocations: 7.516 kB / 382.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3553, allocations: 11.28 kB / 382.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.281e-05/0.3554, allocations: 119 kB / 383 MB, free: 11.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3554, allocations: 0 / 383 MB, free: 11.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3557, allocations: 48.3 kB / 383.1 MB, free: 11.14 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.0006392/0.3563, allocations: 0.834 MB / 383.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.3567, allocations: 127.4 kB / 384.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3567, allocations: 3.172 kB / 384.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.3568, allocations: 56.88 kB / 384.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3572, allocations: 38.83 kB / 384.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3594, allocations: 2.058 MB / 386.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3595, allocations: 0.7227 MB / 386.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.3596, allocations: 14.55 kB / 386.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.3597, allocations: 51.12 kB / 387 MB, free: 8.031 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3597, allocations: 0 / 387 MB, free: 8.031 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9881/1.348, allocations: 3.388 MB / 390.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.352/10.7, allocations: 9.984 kB / 390.4 MB, free: 7.402 MB / 318.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv --start-time 0 --stop-time 50000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/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) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:time,C1.v,C2.v,L.i