Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 191.4 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 371.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 52.19 MB / 423.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007044/0.2472, allocations: 5.294 MB / 428.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.2506, allocations: 1.959 MB / 430.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.2511, allocations: 47.69 kB / 430.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008927/0.252, allocations: 389.5 kB / 431 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.2533, allocations: 0.5788 MB / 431.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.2536, allocations: 223.7 kB / 431.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.2558, allocations: 2.221 MB / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.2572, allocations: 1.162 MB / 435.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.2591, allocations: 1.076 MB / 436.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.2607, allocations: 1.245 MB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.2611, allocations: 288 kB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006376/0.2617, allocations: 363.8 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000637/0.2623, allocations: 0.7129 MB / 438.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2634, allocations: 0.9882 MB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.2672, allocations: 3.811 MB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2672, allocations: 0 / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2672, allocations: 0 / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.564e-05/0.2672, allocations: 0 / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004226/0.2714, allocations: 2.365 MB / 446.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2715, allocations: 8.031 kB / 446.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.109e-05/0.2716, allocations: 47.73 kB / 446.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/0.2719, allocations: 274.1 kB / 446.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/0.2725, allocations: 267.4 kB / 446.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.2748, allocations: 1.311 MB / 448 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2749, allocations: 135.5 kB / 448.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.2751, allocations: 176 kB / 448.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/0.2793, allocations: 2.744 MB / 451 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.2794, allocations: 0 / 451 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.2795, allocations: 72 kB / 451.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.2796, allocations: 95.58 kB / 451.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/0.2831, allocations: 2.107 MB / 453.3 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.2938, allocations: 6.639 MB / 459.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2951, allocations: 0.7041 MB / 460.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007078/0.2958, allocations: 446.9 kB / 461.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.296, allocations: 40.41 kB / 461.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.296, allocations: 39 kB / 461.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/0.2961, allocations: 0 / 461.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004008/0.3001, allocations: 2.137 MB / 463.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.3001, allocations: 81.55 kB / 463.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.3022, allocations: 1.52 MB / 464.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.3022, allocations: 33.7 kB / 464.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.303, allocations: 0.9978 MB / 465.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.3032, allocations: 210.3 kB / 466.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.3035, allocations: 246.7 kB / 466.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3037, allocations: 357.9 kB / 466.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.3044, allocations: 454.3 kB / 467.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.3057, allocations: 1.116 MB / 468.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.3077, allocations: 1.619 MB / 469.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.3077, allocations: 7.938 kB / 469.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002776/0.3105, allocations: 1.695 MB / 471.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.3105, allocations: 16 kB / 471.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.3105, allocations: 20 kB / 471.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007333/0.3112, allocations: 177.1 kB / 471.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/0.3121, allocations: 283.5 kB / 472.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.3145, allocations: 2.238 MB / 474.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/0.3154, allocations: 83.81 kB / 474.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.3155, allocations: 68 kB / 474.4 MB, free: 10.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.3165, allocations: 0.7156 MB / 475.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.3167, allocations: 135.2 kB / 475.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.3182, allocations: 0.8334 MB / 476.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3182, allocations: 8 kB / 476.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3182, allocations: 0 / 476.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3182, allocations: 11.92 kB / 476.1 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.3218, allocations: 2.322 MB / 478.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3218, allocations: 0 / 478.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.3222, allocations: 103.8 kB / 478.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00062/0.3228, allocations: 144.9 kB / 478.7 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.3228, allocations: 16 kB / 478.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.325, allocations: 2.185 MB / 480.9 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.325, allocations: 4.031 kB / 480.9 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.3269, allocations: 1.326 MB / 482.2 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.3274, allocations: 215.1 kB / 482.5 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.3276, allocations: 16 kB / 482.5 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.3281, allocations: 44.03 kB / 482.5 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3282, allocations: 59.78 kB / 482.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.3283, allocations: 16 kB / 482.6 MB, free: 1.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.3297, allocations: 1.036 MB / 483.6 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3297, allocations: 0 / 483.6 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001243/0.331, allocations: 351.9 kB / 484 MB, free: 256 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002592/0.3336, allocations: 1.953 MB / 485.9 MB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.3355, allocations: 1.128 MB / 487 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3355, allocations: 0 / 487 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007895/0.3363, allocations: 0.5039 MB / 487.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3378, allocations: 376.2 kB / 487.9 MB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.3571, allocations: 13.92 MB / 0.4901 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.3584, allocations: 1.119 MB / 0.4912 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000859/0.3592, allocations: 323.2 kB / 0.4915 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008013/0.36, allocations: 0.6164 MB / 0.4921 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.36, allocations: 0 / 0.4921 GB, free: 11.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07309/0.4331, allocations: 36.17 MB / 0.5274 GB, free: 7.664 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.64, allocations: 12 kB / 0.5274 GB, free: 7.652 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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: 16.32906430703588]