Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 60.05 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.0938, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005073/0.09891, allocations: 3.778 MB / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.101, allocations: 1.02 MB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005507/0.1016, allocations: 23.88 kB / 362.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.1021, allocations: 146.8 kB / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1032, allocations: 274.5 kB / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1036, allocations: 139.8 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1052, allocations: 1.397 MB / 364.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.1066, allocations: 1.189 MB / 365.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.1076, allocations: 0.6269 MB / 366.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1089, allocations: 0.7589 MB / 366.9 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003547/0.1092, allocations: 156 kB / 367.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.1097, allocations: 168 kB / 367.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.1102, allocations: 462.7 kB / 367.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.1114, allocations: 0.7311 MB / 368.4 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.1133, allocations: 2.029 MB / 370.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1134, allocations: 0 / 370.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1134, allocations: 3.938 kB / 370.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.879e-05/0.1134, allocations: 0 / 370.4 MB, free: 1.059 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.1845/0.2979, allocations: 1.662 MB / 372.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.298, allocations: 11.12 kB / 372.1 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/0.2983, allocations: 175 kB / 372.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006665/0.299, allocations: 170.2 kB / 372.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.3005, allocations: 0.8693 MB / 373.3 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.3006, allocations: 81.81 kB / 373.4 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3007, allocations: 108.2 kB / 373.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.3034, allocations: 1.548 MB / 375.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.3034, allocations: 5.312 kB / 375.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/0.3036, allocations: 45.62 kB / 375.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.3036, allocations: 26.73 kB / 375.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.3057, allocations: 1.319 MB / 376.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.312, allocations: 4.213 MB / 380.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.313, allocations: 1.31 MB / 382 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006838/0.3137, allocations: 462 kB / 382.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3138, allocations: 4.812 kB / 382.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3138, allocations: 38.47 kB / 382.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.3138, allocations: 1.125 kB / 382.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003257/0.3171, allocations: 1.943 MB / 384.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3171, allocations: 62.42 kB / 384.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.3182, allocations: 0.8286 MB / 385.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.3182, allocations: 35.98 kB / 385.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.3185, allocations: 0.5414 MB / 385.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.3186, allocations: 179.4 kB / 386.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.3188, allocations: 102.7 kB / 386.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3189, allocations: 386.7 kB / 386.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.3193, allocations: 311.3 kB / 386.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.3198, allocations: 399.1 kB / 387.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.3207, allocations: 0.7045 MB / 387.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3207, allocations: 0 / 387.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001306/0.322, allocations: 0.9156 MB / 388.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.322, allocations: 9.5 kB / 388.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.322, allocations: 7.156 kB / 388.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.3223, allocations: 108.6 kB / 389 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.3228, allocations: 123.7 kB / 389.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.3246, allocations: 2.355 MB / 391.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.3251, allocations: 32.28 kB / 391.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.3251, allocations: 23.69 kB / 391.5 MB, free: 8.688 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005695/0.3257, allocations: 460.3 kB / 392 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3258, allocations: 76.09 kB / 392 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.326, allocations: 93.94 kB / 392.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.326, allocations: 4.781 kB / 392.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.326, allocations: 1.281 kB / 392.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.326, allocations: 1.25 kB / 392.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.329, allocations: 2.042 MB / 394.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3291, allocations: 1.375 kB / 394.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.3294, allocations: 89.88 kB / 394.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.3297, allocations: 108.9 kB / 394.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.3297, allocations: 13.5 kB / 394.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.3314, allocations: 2.327 MB / 396.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3314, allocations: 1.344 kB / 396.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.333, allocations: 1.196 MB / 397.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.3332, allocations: 172.6 kB / 398.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.3333, allocations: 11.62 kB / 398.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.3337, allocations: 43.7 kB / 398.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3338, allocations: 44.16 kB / 398.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.3338, allocations: 11.91 kB / 398.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006767/0.3345, allocations: 0.6013 MB / 398.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3345, allocations: 0 / 398.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008447/0.3354, allocations: 209.2 kB / 399 MB, free: 3.508 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.3369, allocations: 1.757 MB / 400.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.3383, allocations: 0.9392 MB / 401.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3383, allocations: 4.625 kB / 401.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.3389, allocations: 488.9 kB / 402.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.3397, allocations: 184.3 kB / 402.3 MB, free: 356 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3509, allocations: 8.982 MB / 411.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.3518, allocations: 1.344 MB / 412.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004814/0.3523, allocations: 181.8 kB / 412.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.3527, allocations: 383.3 kB / 413.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3527, allocations: 0 / 413.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.3967, allocations: 19.19 MB / 432.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.206/9.603, allocations: 15.42 kB / 432.4 MB, free: 2.277 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches