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.001219/0.001219, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001278/0.001278, allocations: 185 kB / 18.72 MB, free: 4.332 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2079/0.2079, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 67.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.322, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002458/0.3245, allocations: 1.716 MB / 0.5201 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000141/0.3246, allocations: 77.17 kB / 0.5202 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.3247, allocations: 2.188 kB / 0.5202 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.473e-05/0.3248, allocations: 20.11 kB / 0.5202 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.3248, allocations: 20.5 kB / 0.5202 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.697e-05/0.3249, allocations: 22.22 kB / 0.5202 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3251, allocations: 106.7 kB / 0.5203 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.3252, allocations: 58.27 kB / 0.5204 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.3253, allocations: 39.97 kB / 0.5204 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.3254, allocations: 44.3 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3254, allocations: 10.06 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.3254, allocations: 11.28 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.3254, allocations: 23.19 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.3255, allocations: 51.02 kB / 0.5205 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3257, allocations: 117.5 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3257, allocations: 5.75 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3257, allocations: 0 / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3257, allocations: 0 / 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.0003987/0.3261, allocations: 402.3 kB / 0.521 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3261, allocations: 10.09 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.3262, allocations: 45.17 kB / 0.5211 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.3262, allocations: 11.08 kB / 0.5211 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.146e-05/0.3263, allocations: 181 kB / 0.5213 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3263, allocations: 9.266 kB / 0.5213 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3263, allocations: 11.47 kB / 0.5213 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3266, allocations: 138.4 kB / 0.5214 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3266, allocations: 3.938 kB / 0.5214 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3266, allocations: 1.797 kB / 0.5214 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3266, allocations: 3.594 kB / 0.5214 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3267, allocations: 67.19 kB / 0.5215 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.3273, allocations: 0.7288 MB / 0.5222 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.3274, allocations: 166.3 kB / 0.5224 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.3274, allocations: 84.83 kB / 0.5225 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3275, allocations: 76.41 kB / 0.5225 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.3275, allocations: 114.5 kB / 0.5226 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3275, allocations: 1.25 kB / 0.5226 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.069e-05/0.3276, allocations: 37.45 kB / 0.5227 GB, free: 15.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3277, allocations: 130.7 kB / 0.5228 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3278, allocations: 143.3 kB / 0.5229 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3278, allocations: 25.7 kB / 0.523 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.3279, allocations: 128.5 kB / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3279, allocations: 0 / 0.5231 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.328, allocations: 23.98 kB / 0.5231 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3281, allocations: 319 kB / 0.5234 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.3281, allocations: 13.38 kB / 0.5234 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.3281, allocations: 41.33 kB / 0.5235 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.3282, allocations: 56.03 kB / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3282, allocations: 0 / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001421/0.3284, allocations: 75.61 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3284, allocations: 9.594 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3284, allocations: 2.219 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.3284, allocations: 5.938 kB / 0.5236 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.3285, allocations: 13.83 kB / 0.5236 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3285, allocations: 2.859 kB / 0.5236 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.3286, allocations: 11.11 kB / 0.5236 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3286, allocations: 3.469 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.0001032/0.3287, allocations: 190.2 kB / 0.5238 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.3288, allocations: 114.1 kB / 0.5239 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.3288, allocations: 117.1 kB / 0.524 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-05/0.3289, allocations: 178.2 kB / 0.5242 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-05/0.329, allocations: 182 kB / 0.5244 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.329, allocations: 186.1 kB / 0.5246 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3293, allocations: 441.2 kB / 0.525 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-05/0.3293, allocations: 106.8 kB / 0.5251 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.3294, allocations: 101.6 kB / 0.5252 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-05/0.3295, allocations: 182.1 kB / 0.5254 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/0.3295, allocations: 182 kB / 0.5255 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.552e-05/0.3296, allocations: 178.1 kB / 0.5257 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-05/0.3297, allocations: 186.3 kB / 0.5259 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3298, allocations: 311.3 kB / 0.5262 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.3299, allocations: 189.4 kB / 0.5264 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.33, allocations: 182.7 kB / 0.5265 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.3301, allocations: 102.7 kB / 0.5266 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.3301, allocations: 182.3 kB / 0.5268 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.3302, allocations: 114.8 kB / 0.5269 GB, free: 11.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.3303, allocations: 113 kB / 0.527 GB, free: 11.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3303, allocations: 1.344 kB / 0.527 GB, free: 11.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3305, allocations: 20.7 kB / 0.527 GB, free: 11.28 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.0003699/0.3309, allocations: 0.8145 MB / 0.5278 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.331, allocations: 20.3 kB / 0.5279 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.331, allocations: 1.5 kB / 0.5279 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.331, allocations: 3.938 kB / 0.5279 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.0003453/0.3314, allocations: 467.4 kB / 0.5283 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3327, allocations: 1.584 MB / 0.5299 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.333, allocations: 0.6968 MB / 0.5305 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.333, allocations: 8.141 kB / 0.5305 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.3331, allocations: 24.23 kB / 0.5306 GB, free: 7.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3331, allocations: 0 / 0.5306 GB, free: 7.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.3509, allocations: 1.597 MB / 0.5321 GB, free: 7.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.537, allocations: 6.406 kB / 0.5321 GB, free: 7.371 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