Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.00595/0.00595, allocations: 111.6 kB / 21.97 MB, free: 5.242 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.00143/0.00143, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.347/1.347, allocations: 207.6 MB / 236 MB, free: 9.988 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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",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.001652/0.001652, allocations: 47.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2644, allocations: 49.17 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006057/0.2704, allocations: 5.899 MB / 403 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.2751, allocations: 2.148 MB / 405.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000935/0.276, allocations: 46.22 kB / 405.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.277, allocations: 409.7 kB / 405.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.2785, allocations: 0.5872 MB / 406.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.2789, allocations: 238.7 kB / 406.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.2814, allocations: 2.29 MB / 408.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.2831, allocations: 1.058 MB / 409.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.2861, allocations: 1.065 MB / 410.9 MB, free: 268 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.2884, allocations: 1.227 MB / 412.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.2888, allocations: 286.6 kB / 412.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.2898, allocations: 380.2 kB / 412.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007861/0.2906, allocations: 0.7169 MB / 413.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.292, allocations: 1.219 MB / 414.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.2963, allocations: 3.789 MB / 418.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2963, allocations: 0 / 418.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2963, allocations: 1.125 kB / 418.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.734e-05/0.2964, allocations: 3.938 kB / 418.5 MB, free: 11.51 MB / 334.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.004865/0.3012, allocations: 2.349 MB / 420.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3013, allocations: 17.95 kB / 420.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.439e-05/0.3013, allocations: 47.08 kB / 420.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/0.3017, allocations: 271.2 kB / 421.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006996/0.3024, allocations: 259.6 kB / 421.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.3045, allocations: 1.192 MB / 422.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.3046, allocations: 126.4 kB / 422.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/0.3049, allocations: 179 kB / 422.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/0.3092, allocations: 2.55 MB / 425.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.3093, allocations: 0 / 425.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3094, allocations: 79.97 kB / 425.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.3095, allocations: 95.59 kB / 425.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.3131, allocations: 2.106 MB / 427.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.3248, allocations: 7.259 MB / 435 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.3261, allocations: 0.7 MB / 435.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.3268, allocations: 451.9 kB / 436.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.327, allocations: 40.39 kB / 436.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3271, allocations: 35 kB / 436.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.3271, allocations: 0 / 436.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004425/0.3315, allocations: 2.141 MB / 438.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.3316, allocations: 89.59 kB / 438.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.3337, allocations: 1.52 MB / 440 MB, free: 7.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.3338, allocations: 37.7 kB / 440 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007825/0.3346, allocations: 0.9939 MB / 441 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.3348, allocations: 210.3 kB / 441.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.3351, allocations: 242.8 kB / 441.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3353, allocations: 353.9 kB / 441.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.336, allocations: 458.3 kB / 442.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3373, allocations: 1.094 MB / 443.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.3394, allocations: 1.615 MB / 444.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3394, allocations: 8 kB / 444.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002743/0.3422, allocations: 1.687 MB / 446.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3422, allocations: 20.47 kB / 446.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.3422, allocations: 20 kB / 446.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007475/0.343, allocations: 180.6 kB / 446.8 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/0.3439, allocations: 291.5 kB / 447.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.3464, allocations: 2.254 MB / 449.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3475, allocations: 87.86 kB / 449.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.3476, allocations: 64 kB / 449.5 MB, free: 13.63 MB / 366.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.00104/0.3486, allocations: 0.7078 MB / 450.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.3489, allocations: 139.3 kB / 450.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.3504, allocations: 0.8411 MB / 451.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3504, allocations: 11.94 kB / 451.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3504, allocations: 0 / 451.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3504, allocations: 0 / 451.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.3543, allocations: 2.479 MB / 453.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3543, allocations: 4 kB / 453.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.3547, allocations: 95.88 kB / 453.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006407/0.3554, allocations: 153 kB / 453.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.3554, allocations: 12 kB / 454 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.3577, allocations: 2.207 MB / 456.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.3577, allocations: 4 kB / 456.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3597, allocations: 1.314 MB / 457.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/0.3603, allocations: 219.1 kB / 457.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.3604, allocations: 15.92 kB / 457.7 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.361, allocations: 51.97 kB / 457.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3611, allocations: 51.86 kB / 457.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3612, allocations: 23.98 kB / 457.8 MB, free: 5.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.3627, allocations: 1.04 MB / 458.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3627, allocations: 0 / 458.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001335/0.364, allocations: 351.9 kB / 459.2 MB, free: 3.637 MB / 366.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.002599/0.3666, allocations: 1.949 MB / 461.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3685, allocations: 1.117 MB / 462.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3685, allocations: 0 / 462.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008227/0.3694, allocations: 0.4923 MB / 462.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.3709, allocations: 376.3 kB / 463.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/0.3921, allocations: 13.94 MB / 477.1 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/0.3939, allocations: 1.698 MB / 478.8 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009465/0.3949, allocations: 319.3 kB / 479.1 MB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/0.3958, allocations: 0.6203 MB / 479.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3958, allocations: 0 / 479.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08161/0.4774, allocations: 34.99 MB / 0.5026 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.66, allocations: 8.016 kB / 0.5027 GB, free: 11.04 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.163734285975806]