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.001414/0.001414, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.001571/0.001571, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.374/1.374, allocations: 207.6 MB / 235.3 MB, free: 10 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.001847/0.001847, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2637, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004496/0.2682, allocations: 3.756 MB / 400.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2699, allocations: 1.024 MB / 401.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.2701, allocations: 23.5 kB / 401.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.2704, allocations: 154.4 kB / 401.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007688/0.2712, allocations: 293.5 kB / 401.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.2715, allocations: 138.9 kB / 401.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.2727, allocations: 1.415 MB / 403.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.2734, allocations: 0.5861 MB / 403.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.274, allocations: 0.6352 MB / 404.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.2749, allocations: 0.7708 MB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.2751, allocations: 159.6 kB / 405.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.2754, allocations: 156.6 kB / 405.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.2757, allocations: 461.2 kB / 405.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.2764, allocations: 0.7257 MB / 406.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.2782, allocations: 2.047 MB / 408.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2783, allocations: 0 / 408.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2783, allocations: 1.656 kB / 408.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.2783, allocations: 0 / 408.7 MB, free: 2.074 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.002648/0.2809, allocations: 1.617 MB / 410.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.281, allocations: 13.42 kB / 410.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.2811, allocations: 177.4 kB / 410.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.2813, allocations: 150.2 kB / 410.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.2826, allocations: 0.7609 MB / 411.4 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.2826, allocations: 86.53 kB / 411.5 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.2828, allocations: 107.9 kB / 411.6 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.2852, allocations: 1.543 MB / 413.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.2852, allocations: 3.984 kB / 413.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2853, allocations: 42.75 kB / 413.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.2853, allocations: 27.72 kB / 413.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.2875, allocations: 1.305 MB / 414.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006877/0.2944, allocations: 4.124 MB / 418.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.2954, allocations: 0.6074 MB / 419.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/0.2961, allocations: 438.8 kB / 419.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.2961, allocations: 5.469 kB / 419.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2961, allocations: 41.34 kB / 419.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.2961, allocations: 0 / 419.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003435/0.2996, allocations: 1.874 MB / 421.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.2996, allocations: 63.84 kB / 421.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3007, allocations: 0.8204 MB / 422.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.3008, allocations: 37.7 kB / 422.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.3012, allocations: 0.5545 MB / 423 MB, free: 8.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.3014, allocations: 190.4 kB / 423.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3015, allocations: 102.3 kB / 423.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3017, allocations: 386.8 kB / 423.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.3022, allocations: 301.1 kB / 424 MB, free: 7.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.3027, allocations: 400.2 kB / 424.4 MB, free: 6.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.3038, allocations: 0.7018 MB / 425.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3038, allocations: 0 / 425.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001498/0.3053, allocations: 0.9154 MB / 426 MB, free: 5.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3053, allocations: 4 kB / 426 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3053, allocations: 4 kB / 426 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.3057, allocations: 108.7 kB / 426.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.3062, allocations: 127.9 kB / 426.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.3089, allocations: 2.265 MB / 428.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.3093, allocations: 23.98 kB / 428.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.3093, allocations: 23.98 kB / 428.5 MB, free: 2.504 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.0007406/0.3101, allocations: 457.5 kB / 429 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3102, allocations: 75.53 kB / 429.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.3104, allocations: 95.08 kB / 429.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3104, allocations: 4 kB / 429.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3104, allocations: 8 kB / 429.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3105, allocations: 11.92 kB / 429.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.3141, allocations: 1.989 MB / 431.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3141, allocations: 3.938 kB / 431.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.3144, allocations: 83.89 kB / 431.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.3147, allocations: 112.9 kB / 431.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.3147, allocations: 12 kB / 431.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.3172, allocations: 2.214 MB / 433.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3173, allocations: 0 / 433.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.3191, allocations: 1.208 MB / 434.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.3193, allocations: 91.53 kB / 434.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3194, allocations: 12 kB / 434.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.3199, allocations: 51.95 kB / 435 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.32, allocations: 40.3 kB / 435 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.32, allocations: 20.06 kB / 435 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009027/0.3209, allocations: 0.5888 MB / 435.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3209, allocations: 4 kB / 435.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008932/0.3218, allocations: 208 kB / 435.8 MB, free: 11.01 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.002192/0.324, allocations: 1.761 MB / 437.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.3255, allocations: 0.7968 MB / 438.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3255, allocations: 4.188 kB / 438.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008185/0.3263, allocations: 476.9 kB / 438.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.3273, allocations: 183.9 kB / 439 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.3414, allocations: 8.622 MB / 447.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.3427, allocations: 1.332 MB / 449 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005067/0.3432, allocations: 185.8 kB / 449.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.3438, allocations: 371.3 kB / 449.5 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3438, allocations: 0 / 449.5 MB, free: 13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06428/0.408, allocations: 20.04 MB / 469.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.22, allocations: 7.844 kB / 469.6 MB, free: 8.883 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.559342128923163]