Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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) 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(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.001099/0.001099, allocations: 108 kB / 16.92 MB, free: 6.332 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.001146/0.001146, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.291/1.291, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001674, allocations: 45.28 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1307, allocations: 49.44 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004652/0.1354, allocations: 3.75 MB / 353.9 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1368, allocations: 0.962 MB / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.137, allocations: 19.94 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1373, allocations: 146.8 kB / 355 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.138, allocations: 274.5 kB / 355.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1382, allocations: 135.8 kB / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.1394, allocations: 1.381 MB / 356.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1406, allocations: 1.174 MB / 358 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.1412, allocations: 0.6269 MB / 358.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.142, allocations: 0.7589 MB / 359.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.1422, allocations: 160 kB / 359.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.1425, allocations: 156 kB / 359.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.1429, allocations: 458.7 kB / 360.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.1436, allocations: 0.735 MB / 360.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1453, allocations: 2.01 MB / 362.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1453, allocations: 0 / 362.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1453, allocations: 0 / 362.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.1453, allocations: 0 / 362.9 MB, free: 7.52 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.002658/0.148, allocations: 1.672 MB / 364.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.148, allocations: 8.031 kB / 364.6 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.1482, allocations: 181.2 kB / 364.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.1484, allocations: 135.3 kB / 364.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1496, allocations: 0.8383 MB / 365.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.1496, allocations: 90.34 kB / 365.8 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.1498, allocations: 108 kB / 365.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.1521, allocations: 1.544 MB / 367.4 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1521, allocations: 3.938 kB / 367.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1522, allocations: 44 kB / 367.5 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.1522, allocations: 28 kB / 367.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.1544, allocations: 1.312 MB / 368.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1358/0.2902, allocations: 4.222 MB / 373 MB, free: 23.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.2912, allocations: 1.317 MB / 374.4 MB, free: 22.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.2918, allocations: 461.1 kB / 374.8 MB, free: 22.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2918, allocations: 7.109 kB / 374.8 MB, free: 22.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2918, allocations: 42.88 kB / 374.9 MB, free: 22.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.013e-06/0.2919, allocations: 2.062 kB / 374.9 MB, free: 22.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.002903/0.2948, allocations: 1.936 MB / 376.8 MB, free: 21.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2948, allocations: 57.66 kB / 376.9 MB, free: 21.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.2957, allocations: 0.8198 MB / 377.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2957, allocations: 36.42 kB / 377.7 MB, free: 21.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.296, allocations: 0.5407 MB / 378.3 MB, free: 20.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.2961, allocations: 179.1 kB / 378.4 MB, free: 20.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.2963, allocations: 100.5 kB / 378.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2964, allocations: 393.2 kB / 378.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.2968, allocations: 304 kB / 379.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.2973, allocations: 406 kB / 379.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.2982, allocations: 0.705 MB / 380.3 MB, free: 19.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2982, allocations: 1.438 kB / 380.3 MB, free: 19.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00124/0.2994, allocations: 0.9167 MB / 381.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2995, allocations: 5.594 kB / 381.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2995, allocations: 3.219 kB / 381.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.2998, allocations: 108.4 kB / 381.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/0.3003, allocations: 127.4 kB / 381.5 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.3021, allocations: 2.357 MB / 383.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.3025, allocations: 29.78 kB / 383.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.3025, allocations: 24.91 kB / 383.9 MB, free: 17.09 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.0005207/0.3031, allocations: 461.7 kB / 384.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3032, allocations: 73.42 kB / 384.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3033, allocations: 93.89 kB / 384.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3033, allocations: 4.5 kB / 384.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3033, allocations: 2.719 kB / 384.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3034, allocations: 2.391 kB / 384.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.3061, allocations: 2.018 MB / 386.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3061, allocations: 9.406 kB / 386.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.3065, allocations: 87.17 kB / 386.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.3067, allocations: 104.4 kB / 386.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3067, allocations: 12.44 kB / 386.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3082, allocations: 2.332 MB / 389.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3082, allocations: 1.469 kB / 389.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3096, allocations: 1.198 MB / 390.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3097, allocations: 159.6 kB / 390.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3099, allocations: 13.52 kB / 390.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3103, allocations: 49.95 kB / 390.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.3104, allocations: 47.06 kB / 390.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3104, allocations: 12.62 kB / 390.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005944/0.311, allocations: 0.584 MB / 391.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.311, allocations: 4 kB / 391.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006586/0.3117, allocations: 214.2 kB / 391.3 MB, free: 12.54 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.00149/0.3132, allocations: 1.75 MB / 393.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.3145, allocations: 0.9427 MB / 394 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3145, allocations: 1.469 kB / 394 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.3152, allocations: 494.8 kB / 394.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.316, allocations: 189.7 kB / 394.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008255/0.3242, allocations: 8.935 MB / 403.6 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.3248, allocations: 1.332 MB / 405 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003565/0.3252, allocations: 181.8 kB / 405.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.3256, allocations: 383.3 kB / 405.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3256, allocations: 3.938 kB / 405.5 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.366, allocations: 19.08 MB / 424.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/9.771, allocations: 11.33 kB / 424.6 MB, free: 13.97 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches