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.001351/0.001351, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001445/0.001445, allocations: 189.8 kB / 23.72 MB, free: 4.684 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.444/1.444, allocations: 225.6 MB / 252.5 MB, free: 13.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 43.94 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2579, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007452/0.2654, allocations: 5.954 MB / 428.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.2691, allocations: 2.088 MB / 430.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.2696, allocations: 51.69 kB / 430.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2706, allocations: 404.8 kB / 431.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.2721, allocations: 0.5749 MB / 431.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.2726, allocations: 227.7 kB / 431.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.275, allocations: 2.217 MB / 434.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.2766, allocations: 1.162 MB / 435.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.2787, allocations: 1.068 MB / 436.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.2805, allocations: 1.241 MB / 437.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004328/0.2809, allocations: 288 kB / 437.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.2816, allocations: 371.8 kB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006586/0.2823, allocations: 0.713 MB / 439 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.2838, allocations: 1.229 MB / 440.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004144/0.2879, allocations: 3.789 MB / 444 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2879, allocations: 7.938 kB / 444 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2879, allocations: 0 / 444 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.327e-05/0.288, allocations: 0 / 444 MB, free: 9.125 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.005093/0.2931, allocations: 2.358 MB / 446.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2931, allocations: 12.03 kB / 446.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003917/0.2935, allocations: 270.2 kB / 446.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.2942, allocations: 259.5 kB / 446.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.2968, allocations: 1.311 MB / 448.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.297, allocations: 131.5 kB / 448.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.2973, allocations: 176 kB / 448.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/0.3017, allocations: 2.547 MB / 451 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.3017, allocations: 4 kB / 451 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.3019, allocations: 75.98 kB / 451.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.302, allocations: 95.58 kB / 451.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/0.3057, allocations: 2.11 MB / 453.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.3175, allocations: 7.251 MB / 460.6 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3188, allocations: 0.7007 MB / 461.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.3195, allocations: 451 kB / 461.7 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.3197, allocations: 36.41 kB / 461.7 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3197, allocations: 39 kB / 461.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.554e-06/0.3197, allocations: 4 kB / 461.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004063/0.3238, allocations: 2.129 MB / 463.9 MB, free: 4.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.3239, allocations: 85.55 kB / 464 MB, free: 4.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.326, allocations: 1.516 MB / 465.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.326, allocations: 37.7 kB / 465.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.3268, allocations: 0.9978 MB / 466.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.3269, allocations: 210.4 kB / 466.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.3273, allocations: 242.7 kB / 467 MB, free: 1.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3274, allocations: 357.9 kB / 467.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.3282, allocations: 454.3 kB / 467.8 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3294, allocations: 1.094 MB / 468.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.3315, allocations: 1.615 MB / 470.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.3315, allocations: 8 kB / 470.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002921/0.3344, allocations: 1.692 MB / 472.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.3345, allocations: 16.12 kB / 472.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.3345, allocations: 24 kB / 472.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/0.3352, allocations: 172.7 kB / 472.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/0.3362, allocations: 291.4 kB / 472.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.3388, allocations: 2.257 MB / 474.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3398, allocations: 87.81 kB / 475 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-05/0.3399, allocations: 64 kB / 475.1 MB, free: 8.797 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.001053/0.341, allocations: 0.7118 MB / 475.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.3412, allocations: 139.1 kB / 475.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.3427, allocations: 0.8373 MB / 476.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3427, allocations: 12 kB / 476.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3427, allocations: 0 / 476.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3427, allocations: 0 / 476.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.3467, allocations: 2.47 MB / 479.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3467, allocations: 4 kB / 479.3 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.3471, allocations: 95.88 kB / 479.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/0.3478, allocations: 153 kB / 479.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.3478, allocations: 16 kB / 479.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.3502, allocations: 2.208 MB / 481.7 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3502, allocations: 0 / 481.7 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.3523, allocations: 1.326 MB / 483.1 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.3529, allocations: 211.1 kB / 483.3 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.3531, allocations: 19.98 kB / 483.3 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.3537, allocations: 48.03 kB / 483.3 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3538, allocations: 51.78 kB / 483.4 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.3538, allocations: 27.98 kB / 483.4 MB, free: 200 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.3553, allocations: 1.032 MB / 484.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3553, allocations: 0 / 484.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001367/0.3567, allocations: 351.9 kB / 484.8 MB, free: 14.81 MB / 398.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.002703/0.3594, allocations: 1.953 MB / 486.7 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.3614, allocations: 1.122 MB / 487.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3614, allocations: 0 / 487.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.3622, allocations: 0.5066 MB / 488.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.3638, allocations: 366.1 kB / 488.7 MB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/0.3844, allocations: 13.94 MB / 0.4909 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/0.3859, allocations: 1.714 MB / 0.4925 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008881/0.3868, allocations: 319.3 kB / 0.4929 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/0.3876, allocations: 0.6164 MB / 0.4935 GB, free: 9.312 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3876, allocations: 0 / 0.4935 GB, free: 9.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08579/0.4734, allocations: 34.93 MB / 0.5276 GB, free: 6.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.33, allocations: 8.047 kB / 0.5276 GB, free: 6.746 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: 17.003100580070168]