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.001239/0.001239, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001225/0.001225, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.39/1.39, 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.2558/0.2558, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.84 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002361/0.3408, allocations: 1.72 MB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001375/0.341, allocations: 79.83 kB / 0.5202 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.341, allocations: 2.281 kB / 0.5202 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.3411, allocations: 16.53 kB / 0.5202 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.3412, allocations: 21.28 kB / 0.5202 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.858e-05/0.3412, allocations: 26.41 kB / 0.5202 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3413, allocations: 101.2 kB / 0.5203 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3415, allocations: 44.91 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.3415, allocations: 40.58 kB / 0.5204 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3416, allocations: 44.31 kB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3416, allocations: 10.03 kB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.3416, allocations: 10.62 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.3417, allocations: 22.78 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3417, allocations: 55.89 kB / 0.5205 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3418, allocations: 121.3 kB / 0.5206 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3418, allocations: 1.406 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3418, allocations: 0 / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3419, allocations: 4 kB / 0.5207 GB, free: 1.762 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.000382/0.3422, allocations: 402.3 kB / 0.521 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3423, allocations: 9.359 kB / 0.521 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.3423, allocations: 45.22 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.3423, allocations: 10.48 kB / 0.5211 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.3424, allocations: 176.3 kB / 0.5213 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3424, allocations: 9.828 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3425, allocations: 11.19 kB / 0.5213 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3427, allocations: 134.3 kB / 0.5214 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3427, allocations: 5.031 kB / 0.5214 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3427, allocations: 5.812 kB / 0.5214 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3427, allocations: 3.125 kB / 0.5214 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3428, allocations: 71.08 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.3434, allocations: 0.7297 MB / 0.5222 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.3434, allocations: 170.2 kB / 0.5224 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.3434, allocations: 80.14 kB / 0.5224 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3435, allocations: 75.98 kB / 0.5225 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.3435, allocations: 111.3 kB / 0.5226 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3435, allocations: 0 / 0.5226 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.766e-05/0.3436, allocations: 41.94 kB / 0.5227 GB, free: 15.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.3437, allocations: 131.3 kB / 0.5228 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3438, allocations: 144.5 kB / 0.5229 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3438, allocations: 25.7 kB / 0.523 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.3439, allocations: 127 kB / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-06/0.3439, allocations: 4 kB / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.344, allocations: 19.92 kB / 0.5231 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3441, allocations: 324 kB / 0.5234 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.3441, allocations: 4.094 kB / 0.5234 GB, free: 15.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.3442, allocations: 41.95 kB / 0.5235 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.3442, allocations: 56.03 kB / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3442, allocations: 0 / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001429/0.3444, allocations: 79.72 kB / 0.5236 GB, free: 14.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3444, allocations: 6.125 kB / 0.5236 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3444, allocations: 5.031 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3444, allocations: 7 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.3445, allocations: 10.16 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3445, allocations: 1.094 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3445, allocations: 11.91 kB / 0.5236 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.3445, allocations: 3.25 kB / 0.5236 GB, free: 14.88 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.0001137/0.3446, allocations: 195.4 kB / 0.5238 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.3447, allocations: 117 kB / 0.5239 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.3448, allocations: 109 kB / 0.524 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/0.3448, allocations: 181.9 kB / 0.5242 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-05/0.3449, allocations: 178.6 kB / 0.5244 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.139e-05/0.345, allocations: 189.8 kB / 0.5246 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.3453, allocations: 441 kB / 0.525 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/0.3453, allocations: 103.1 kB / 0.5251 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.3454, allocations: 105.6 kB / 0.5252 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.809e-05/0.3455, allocations: 178.2 kB / 0.5253 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.3455, allocations: 182.1 kB / 0.5255 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.352e-05/0.3456, allocations: 186.1 kB / 0.5257 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.324e-05/0.3457, allocations: 182 kB / 0.5259 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3459, allocations: 307.3 kB / 0.5262 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.346, allocations: 189.9 kB / 0.5263 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.3461, allocations: 182.6 kB / 0.5265 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3462, allocations: 110.9 kB / 0.5266 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.3463, allocations: 181.8 kB / 0.5268 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.3463, allocations: 107.1 kB / 0.5269 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.3464, allocations: 113 kB / 0.527 GB, free: 11.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3464, allocations: 0 / 0.527 GB, free: 11.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3467, allocations: 22 kB / 0.527 GB, free: 11.29 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.0004816/0.3471, allocations: 0.8182 MB / 0.5278 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.3472, allocations: 20.58 kB / 0.5278 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3472, allocations: 0 / 0.5278 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.3472, allocations: 1.156 kB / 0.5278 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3476, allocations: 467.3 kB / 0.5283 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3491, allocations: 1.583 MB / 0.5298 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3495, allocations: 0.6962 MB / 0.5305 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.336e-05/0.3495, allocations: 9.734 kB / 0.5305 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.3496, allocations: 23.39 kB / 0.5305 GB, free: 7.785 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3496, allocations: 0 / 0.5305 GB, free: 7.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.3725, allocations: 1.604 MB / 0.5321 GB, free: 7.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.98, allocations: 5.156 kB / 0.5321 GB, free: 7.375 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