Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",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.00129/0.00129, allocations: 118.4 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.001233/0.001233, allocations: 183.8 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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2113/0.2113, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 63.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2837, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003025/0.2868, allocations: 2.561 MB / 0.5209 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.2876, allocations: 0.5934 MB / 0.5215 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2877, allocations: 16.38 kB / 0.5215 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2879, allocations: 40.3 kB / 0.5215 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.288, allocations: 69.61 kB / 0.5216 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.2882, allocations: 65.25 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.2885, allocations: 294.8 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2887, allocations: 86.59 kB / 0.522 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.2888, allocations: 107.5 kB / 0.5221 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.289, allocations: 120.5 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.289, allocations: 22.56 kB / 0.5223 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.2891, allocations: 26.72 kB / 0.5223 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.2891, allocations: 52.2 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2892, allocations: 126.3 kB / 0.5225 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2895, allocations: 285 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2896, allocations: 0 / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2896, allocations: 0 / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2896, allocations: 0 / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00072/0.2903, allocations: 0.5385 MB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2903, allocations: 10.34 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.088e-05/0.2904, allocations: 55.11 kB / 0.5233 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.2905, allocations: 29.78 kB / 0.5234 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.2908, allocations: 239.8 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2908, allocations: 17.44 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.2909, allocations: 17.34 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.2913, allocations: 202.9 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2913, allocations: 4 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.2913, allocations: 11.55 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2913, allocations: 4.625 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2916, allocations: 138.5 kB / 0.524 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.293, allocations: 0.8071 MB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2932, allocations: 99.03 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2933, allocations: 52.45 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2933, allocations: 2.5 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2934, allocations: 31.22 kB / 0.5249 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.2934, allocations: 0 / 0.5249 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001823/0.2952, allocations: 0.7328 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2953, allocations: 53.62 kB / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.2955, allocations: 214.4 kB / 0.5259 GB, free: 14.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2955, allocations: 26.45 kB / 0.5259 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.2957, allocations: 176.1 kB / 0.5261 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.2957, allocations: 59.3 kB / 0.5261 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.2958, allocations: 40.44 kB / 0.5262 GB, free: 13.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.296, allocations: 332.4 kB / 0.5265 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2961, allocations: 60.78 kB / 0.5266 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2963, allocations: 110.2 kB / 0.5267 GB, free: 13.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.2967, allocations: 168.6 kB / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2967, allocations: 1 kB / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005637/0.2972, allocations: 281.3 kB / 0.5271 GB, free: 13.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2973, allocations: 10.36 kB / 0.5271 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2973, allocations: 1.375 kB / 0.5271 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.2975, allocations: 67.34 kB / 0.5272 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2977, allocations: 36.42 kB / 0.5272 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.3004, allocations: 3.021 MB / 0.5302 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3006, allocations: 10.95 kB / 0.5302 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3006, allocations: 6.203 kB / 0.5302 GB, free: 10.13 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.3008, allocations: 145.4 kB / 0.5303 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3008, allocations: 18.19 kB / 0.5303 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.3009, allocations: 24.11 kB / 0.5303 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3009, allocations: 1.891 kB / 0.5304 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3009, allocations: 5.312 kB / 0.5304 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3009, allocations: 2.078 kB / 0.5304 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.3013, allocations: 282.4 kB / 0.5306 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3013, allocations: 0 / 0.5306 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3014, allocations: 20.75 kB / 0.5306 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.3016, allocations: 71.23 kB / 0.5307 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3016, allocations: 1.625 kB / 0.5307 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.3043, allocations: 3.015 MB / 0.5337 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3043, allocations: 0 / 0.5337 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.305, allocations: 396 kB / 0.534 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.305, allocations: 96.97 kB / 0.5341 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3051, allocations: 2.312 kB / 0.5341 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3053, allocations: 17.58 kB / 0.5341 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3053, allocations: 19.66 kB / 0.5342 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3054, allocations: 10.81 kB / 0.5342 GB, free: 6.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3055, allocations: 146.8 kB / 0.5343 GB, free: 6.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3055, allocations: 0 / 0.5343 GB, free: 6.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.3059, allocations: 68.38 kB / 0.5344 GB, free: 6.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.307, allocations: 0.9296 MB / 0.5353 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007201/0.3077, allocations: 405 kB / 0.5357 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3077, allocations: 1.031 kB / 0.5357 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.3082, allocations: 329.6 kB / 0.536 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3085, allocations: 36.12 kB / 0.536 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.3119, allocations: 2.475 MB / 0.5384 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.3124, allocations: 0.754 MB / 0.5392 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.489e-05/0.3125, allocations: 22.16 kB / 0.5392 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3126, allocations: 68.3 kB / 0.5393 GB, free: 1.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3126, allocations: 0 / 0.5393 GB, free: 1.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.3537, allocations: 4.993 MB / 0.5441 GB, free: 15.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.615/9.969, allocations: 11.19 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches