Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",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.001274/0.001274, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001265/0.001265, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 71.84 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002379/0.3151, allocations: 1.717 MB / 0.5201 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001358/0.3152, allocations: 80.14 kB / 0.5202 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.3153, allocations: 2.938 kB / 0.5202 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.3153, allocations: 15.55 kB / 0.5202 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.3154, allocations: 22.3 kB / 0.5202 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.84e-05/0.3155, allocations: 22.33 kB / 0.5202 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3156, allocations: 101.9 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3158, allocations: 57.42 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.3158, allocations: 44.22 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.3159, allocations: 43.73 kB / 0.5204 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3159, allocations: 15.91 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.316, allocations: 9.812 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.316, allocations: 26.78 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.316, allocations: 51.19 kB / 0.5205 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.3162, allocations: 119.2 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3162, allocations: 3.938 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3162, allocations: 0 / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3162, allocations: 0 / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003775/0.3166, allocations: 398.7 kB / 0.521 GB, free: 1.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3166, allocations: 14.59 kB / 0.5211 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.3167, allocations: 45.48 kB / 0.5211 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.3167, allocations: 10.7 kB / 0.5211 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.3168, allocations: 176.5 kB / 0.5213 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3168, allocations: 8.859 kB / 0.5213 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3168, allocations: 11.97 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.317, allocations: 130.9 kB / 0.5214 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3171, allocations: 3.938 kB / 0.5214 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3171, allocations: 9.188 kB / 0.5214 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3171, allocations: 3.5 kB / 0.5214 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3172, allocations: 67.53 kB / 0.5215 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.3178, allocations: 0.7207 MB / 0.5222 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.3179, allocations: 174.9 kB / 0.5224 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.3179, allocations: 80.14 kB / 0.5225 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.318, allocations: 76.59 kB / 0.5225 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.318, allocations: 106.5 kB / 0.5226 GB, free: 15.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.318, allocations: 0 / 0.5226 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.642e-05/0.3181, allocations: 45.67 kB / 0.5227 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.3182, allocations: 128.7 kB / 0.5228 GB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3183, allocations: 142.8 kB / 0.5229 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3184, allocations: 25.7 kB / 0.523 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.3185, allocations: 128 kB / 0.5231 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.3185, allocations: 0.5156 kB / 0.5231 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3185, allocations: 18.91 kB / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3187, allocations: 319.7 kB / 0.5234 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.3187, allocations: 12.84 kB / 0.5234 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.3187, allocations: 45.69 kB / 0.5235 GB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.3188, allocations: 55.69 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3188, allocations: 1.375 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001477/0.319, allocations: 75.67 kB / 0.5236 GB, free: 14.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.319, allocations: 4.625 kB / 0.5236 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.319, allocations: 10.09 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.319, allocations: 11.12 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.3191, allocations: 9.281 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3191, allocations: 2.625 kB / 0.5236 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3192, allocations: 11.05 kB / 0.5236 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3192, allocations: 3.703 kB / 0.5236 GB, free: 14.9 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001162/0.3193, allocations: 191.2 kB / 0.5238 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.3194, allocations: 116.4 kB / 0.5239 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.3194, allocations: 117.3 kB / 0.524 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.436e-05/0.3195, allocations: 182.3 kB / 0.5242 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-05/0.3196, allocations: 178.2 kB / 0.5244 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-05/0.3197, allocations: 186.4 kB / 0.5246 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.32, allocations: 440.3 kB / 0.525 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.373e-05/0.32, allocations: 102.9 kB / 0.5251 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.3201, allocations: 109.7 kB / 0.5252 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.049e-05/0.3202, allocations: 178.2 kB / 0.5254 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.3203, allocations: 182.7 kB / 0.5255 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-05/0.3203, allocations: 182.1 kB / 0.5257 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-05/0.3204, allocations: 182.1 kB / 0.5259 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3206, allocations: 311.8 kB / 0.5262 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.3207, allocations: 189.7 kB / 0.5264 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.3208, allocations: 182.1 kB / 0.5265 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3209, allocations: 102.8 kB / 0.5266 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.321, allocations: 182.2 kB / 0.5268 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.321, allocations: 109.6 kB / 0.5269 GB, free: 11.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.3211, allocations: 113.4 kB / 0.527 GB, free: 11.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3211, allocations: 0 / 0.527 GB, free: 11.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3214, allocations: 22.3 kB / 0.527 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004499/0.3218, allocations: 0.8144 MB / 0.5278 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.3219, allocations: 21 kB / 0.5278 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3219, allocations: 0 / 0.5278 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.322, allocations: 1.156 kB / 0.5278 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3224, allocations: 463 kB / 0.5283 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3238, allocations: 1.588 MB / 0.5298 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.3241, allocations: 0.6964 MB / 0.5305 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.3242, allocations: 4.156 kB / 0.5305 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.3242, allocations: 27.06 kB / 0.5306 GB, free: 7.805 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3242, allocations: 5.219 kB / 0.5306 GB, free: 7.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.3446, allocations: 1.601 MB / 0.5321 GB, free: 7.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.975, allocations: 2.156 kB / 0.5321 GB, free: 7.398 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches