Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 108.5 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 55.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2781, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004764/0.2828, allocations: 3.751 MB / 400.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.285, allocations: 1.028 MB / 401.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.2853, allocations: 23.72 kB / 401.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.2857, allocations: 155 kB / 401.3 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008639/0.2865, allocations: 300.8 kB / 401.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.2868, allocations: 131.5 kB / 401.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.2883, allocations: 1.414 MB / 403.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007449/0.2891, allocations: 0.5839 MB / 403.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008473/0.2899, allocations: 0.634 MB / 404.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.291, allocations: 0.7705 MB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.2913, allocations: 164.1 kB / 405.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.2916, allocations: 155 kB / 405.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.292, allocations: 462.2 kB / 405.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007887/0.2928, allocations: 0.7294 MB / 406.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.2949, allocations: 2.039 MB / 408.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.295, allocations: 1.188 kB / 408.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.295, allocations: 0 / 408.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.306e-05/0.295, allocations: 0 / 408.7 MB, free: 2.07 MB / 318.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.002839/0.2978, allocations: 1.617 MB / 410.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2979, allocations: 13.67 kB / 410.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.2981, allocations: 173.2 kB / 410.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.2983, allocations: 150.6 kB / 410.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.2997, allocations: 0.7686 MB / 411.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.2997, allocations: 91.19 kB / 411.5 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.2999, allocations: 111.8 kB / 411.6 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.3025, allocations: 1.535 MB / 413.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.3025, allocations: 0 / 413.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.3026, allocations: 47.06 kB / 413.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.3026, allocations: 30.69 kB / 413.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.3049, allocations: 1.306 MB / 414.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/0.3122, allocations: 4.121 MB / 418.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.3132, allocations: 0.6068 MB / 419.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/0.3139, allocations: 429.4 kB / 419.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.3139, allocations: 5.094 kB / 419.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.314, allocations: 47.09 kB / 419.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/0.314, allocations: 0 / 419.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003858/0.3179, allocations: 1.876 MB / 421.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3179, allocations: 59.83 kB / 421.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3192, allocations: 0.8243 MB / 422.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.3192, allocations: 33.7 kB / 422.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.3197, allocations: 0.5545 MB / 423 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.3198, allocations: 190.4 kB / 423.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.32, allocations: 106.2 kB / 423.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.3202, allocations: 382.8 kB / 423.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.3207, allocations: 305.1 kB / 424 MB, free: 7.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.3212, allocations: 404.2 kB / 424.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3223, allocations: 0.6901 MB / 425.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3223, allocations: 4 kB / 425.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00154/0.3238, allocations: 0.9154 MB / 426 MB, free: 5.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3238, allocations: 8 kB / 426 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3239, allocations: 4 kB / 426 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.3242, allocations: 112.7 kB / 426.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.3247, allocations: 115.9 kB / 426.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.3271, allocations: 2.277 MB / 428.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.3276, allocations: 31.97 kB / 428.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.3276, allocations: 20 kB / 428.6 MB, free: 2.516 MB / 334.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.0007337/0.3284, allocations: 449.5 kB / 429 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3285, allocations: 79.53 kB / 429.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.3287, allocations: 91.14 kB / 429.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3287, allocations: 7.984 kB / 429.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.3287, allocations: 7.938 kB / 429.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3287, allocations: 0 / 429.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.3321, allocations: 1.992 MB / 431.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3321, allocations: 0 / 431.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3325, allocations: 83.89 kB / 431.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.3327, allocations: 108.7 kB / 431.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.3327, allocations: 12 kB / 431.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.335, allocations: 2.23 MB / 433.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.335, allocations: 288 / 433.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3368, allocations: 1.201 MB / 434.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.3371, allocations: 95.53 kB / 434.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.3371, allocations: 15.94 kB / 434.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.3375, allocations: 56.02 kB / 435 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3376, allocations: 48.23 kB / 435 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3377, allocations: 15.98 kB / 435 MB, free: 11.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008183/0.3385, allocations: 0.5888 MB / 435.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3385, allocations: 0 / 435.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008649/0.3394, allocations: 212 kB / 435.8 MB, free: 11.02 MB / 350.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.002072/0.3414, allocations: 1.749 MB / 437.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.3429, allocations: 0.8004 MB / 438.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3429, allocations: 0 / 438.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.3436, allocations: 485.8 kB / 438.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.3445, allocations: 174.8 kB / 439 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.3581, allocations: 8.622 MB / 447.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.3593, allocations: 1.336 MB / 449 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005199/0.3598, allocations: 181.8 kB / 449.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.3603, allocations: 371.3 kB / 449.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3603, allocations: 4 kB / 449.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/0.4206, allocations: 20.03 MB / 469.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.76, allocations: 7.844 kB / 469.6 MB, free: 8.902 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.201800864000688]