Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_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.001825/0.001825, allocations: 105.3 kB / 17.06 MB, free: 6.008 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.001882/0.001882, allocations: 192 kB / 18 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 51.86 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003657/0.3086, allocations: 2.148 MB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.3095, allocations: 0.5376 MB / 402.9 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.3096, allocations: 4 kB / 402.9 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3097, allocations: 27.72 kB / 403 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.3098, allocations: 51.48 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.31, allocations: 63.92 kB / 403.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.3103, allocations: 227 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.3105, allocations: 81.64 kB / 403.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3106, allocations: 87.66 kB / 403.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3107, allocations: 95.61 kB / 403.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3108, allocations: 27.94 kB / 403.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.185e-05/0.3108, allocations: 20 kB / 403.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.3109, allocations: 39.89 kB / 403.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.311, allocations: 111.5 kB / 403.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.3112, allocations: 234.1 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3112, allocations: 0 / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3113, allocations: 0 / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3113, allocations: 0 / 404 MB, free: 5.062 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.0007034/0.312, allocations: 0.4897 MB / 404.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.312, allocations: 12.02 kB / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.3121, allocations: 54.73 kB / 404.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.3121, allocations: 20.8 kB / 404.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3124, allocations: 224 kB / 404.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3125, allocations: 12.38 kB / 404.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.3125, allocations: 20.38 kB / 404.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.3129, allocations: 181.7 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3129, allocations: 0 / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3129, allocations: 16 kB / 405 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3129, allocations: 4 kB / 405 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.3132, allocations: 139.9 kB / 405.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3143, allocations: 0.7469 MB / 405.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.3147, allocations: 166.5 kB / 406 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3149, allocations: 92.83 kB / 406.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3149, allocations: 4 kB / 406.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3149, allocations: 30.56 kB / 406.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3149, allocations: 0 / 406.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004625/0.3154, allocations: 185.5 kB / 406.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3154, allocations: 59.34 kB / 406.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3156, allocations: 149.4 kB / 406.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3156, allocations: 33.69 kB / 406.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.3157, allocations: 136.2 kB / 406.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.3157, allocations: 55.58 kB / 406.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3158, allocations: 29.72 kB / 406.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.3159, allocations: 322.8 kB / 407.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.316, allocations: 51.97 kB / 407.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3161, allocations: 73.69 kB / 407.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.3164, allocations: 113.9 kB / 407.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3164, allocations: 0 / 407.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002986/0.3167, allocations: 191.9 kB / 407.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3167, allocations: 8 kB / 407.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.3167, allocations: 3.938 kB / 407.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3167, allocations: 7.984 kB / 407.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3169, allocations: 43.91 kB / 407.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.317, allocations: 0 / 407.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.3171, allocations: 15.89 kB / 407.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3171, allocations: 7.938 kB / 407.6 MB, free: 1.156 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.191e-05/0.3172, allocations: 125.8 kB / 407.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.3172, allocations: 19.94 kB / 407.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.3173, allocations: 16.78 kB / 407.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3173, allocations: 4 kB / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3173, allocations: 0 / 407.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3173, allocations: 3.938 kB / 407.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3176, allocations: 269.5 kB / 408.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3176, allocations: 0 / 408.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3178, allocations: 35.97 kB / 408.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3178, allocations: 4 kB / 408.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3178, allocations: 3.938 kB / 408.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3178, allocations: 4 kB / 408.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3178, allocations: 4 kB / 408.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.3182, allocations: 305.5 kB / 408.4 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.3183, allocations: 89.09 kB / 408.5 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3183, allocations: 3.938 kB / 408.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3185, allocations: 19.98 kB / 408.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.3185, allocations: 4 kB / 408.5 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3186, allocations: 7.984 kB / 408.5 MB, free: 164 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.3186, allocations: 111.3 kB / 408.6 MB, free: 52 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3186, allocations: 0 / 408.6 MB, free: 52 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3189, allocations: 47.89 kB / 408.7 MB, free: 4 kB / 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.0006868/0.3196, allocations: 0.8455 MB / 409.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.3199, allocations: 120 kB / 409.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3199, allocations: 0 / 409.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.32, allocations: 74.59 kB / 409.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3204, allocations: 20 kB / 409.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.3227, allocations: 2.058 MB / 411.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3229, allocations: 0.7239 MB / 412.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.843e-05/0.323, allocations: 17.41 kB / 412.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.3231, allocations: 51.36 kB / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3231, allocations: 0 / 412.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.344, allocations: 3.385 MB / 416 MB, free: 8.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/8.017, allocations: 16.56 kB / 416 MB, free: 8.664 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv","/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_4.0.0_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