Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00127/0.00127, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001441/0.001441, allocations: 211.8 kB / 24.51 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 51.91 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2628, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007226/0.27, allocations: 5.312 MB / 437.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.2743, allocations: 2.014 MB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.2749, allocations: 51.69 kB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.276, allocations: 393.4 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.2774, allocations: 0.5788 MB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.2778, allocations: 235.7 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.2802, allocations: 2.229 MB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.2817, allocations: 1.162 MB / 443.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.2838, allocations: 1.079 MB / 444.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.2856, allocations: 1.242 MB / 446.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.286, allocations: 288 kB / 446.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006745/0.2866, allocations: 371.8 kB / 446.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.2873, allocations: 0.7168 MB / 447.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.2885, allocations: 0.9921 MB / 448.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.2924, allocations: 3.819 MB / 452.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2924, allocations: 0 / 452.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2924, allocations: 0 / 452.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.446e-05/0.2924, allocations: 0 / 452.3 MB, free: 2.062 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.004515/0.2969, allocations: 2.365 MB / 454.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.297, allocations: 16.03 kB / 454.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.299e-05/0.2971, allocations: 47.73 kB / 454.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003456/0.2974, allocations: 278.1 kB / 455 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.2983, allocations: 283.5 kB / 455.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.3007, allocations: 1.326 MB / 456.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.3008, allocations: 131.5 kB / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.3011, allocations: 168 kB / 456.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.3055, allocations: 2.752 MB / 459.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.3055, allocations: 0 / 459.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.3057, allocations: 68 kB / 459.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.3058, allocations: 99.58 kB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.3093, allocations: 2.114 MB / 461.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.3202, allocations: 6.628 MB / 468.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.3214, allocations: 0.7192 MB / 469.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.3221, allocations: 442.6 kB / 469.7 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.3223, allocations: 40.41 kB / 469.8 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3224, allocations: 39 kB / 469.8 MB, free: 160 kB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.555e-06/0.3224, allocations: 4 kB / 469.8 MB, free: 156 kB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004026/0.3264, allocations: 2.137 MB / 471.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.3264, allocations: 81.55 kB / 472 MB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.3285, allocations: 1.524 MB / 473.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.3285, allocations: 37.7 kB / 473.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/0.3293, allocations: 1.002 MB / 474.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.3295, allocations: 206.3 kB / 474.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.3298, allocations: 246.7 kB / 475 MB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.33, allocations: 357.9 kB / 475.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.3307, allocations: 458.3 kB / 475.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.3319, allocations: 1.112 MB / 476.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.3338, allocations: 1.623 MB / 478.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.3339, allocations: 8 kB / 478.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002709/0.3366, allocations: 1.692 MB / 480.3 MB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.3366, allocations: 16 kB / 480.3 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.3366, allocations: 20 kB / 480.3 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/0.3373, allocations: 176.9 kB / 480.5 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.3382, allocations: 279.5 kB / 480.7 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.3406, allocations: 2.246 MB / 483 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/0.3416, allocations: 87.92 kB / 483.1 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.3416, allocations: 67.94 kB / 483.1 MB, free: 1.965 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.001076/0.3427, allocations: 0.7156 MB / 483.9 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.3429, allocations: 139.2 kB / 484 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.3443, allocations: 0.8334 MB / 484.8 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3444, allocations: 8 kB / 484.8 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3444, allocations: 0 / 484.8 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3444, allocations: 3.984 kB / 484.8 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.3481, allocations: 2.332 MB / 487.2 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3481, allocations: 4 kB / 487.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.3485, allocations: 95.88 kB / 487.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006313/0.3491, allocations: 152.7 kB / 487.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.3491, allocations: 12 kB / 487.4 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.3514, allocations: 2.192 MB / 489.6 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3514, allocations: 0 / 489.6 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.3534, allocations: 1.325 MB / 490.9 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.3539, allocations: 219.1 kB / 491.2 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.354, allocations: 12 kB / 491.2 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.3546, allocations: 44.03 kB / 491.2 MB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3547, allocations: 59.97 kB / 491.3 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.3547, allocations: 16 kB / 491.3 MB, free: 9.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.3562, allocations: 1.044 MB / 492.3 MB, free: 8.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3562, allocations: 0 / 492.3 MB, free: 8.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001265/0.3574, allocations: 351.9 kB / 492.7 MB, free: 8.148 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.002595/0.36, allocations: 1.947 MB / 494.6 MB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.362, allocations: 1.117 MB / 495.7 MB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.362, allocations: 0 / 495.7 MB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.3628, allocations: 0.4918 MB / 496.2 MB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.3643, allocations: 384.2 kB / 496.6 MB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.3841, allocations: 13.98 MB / 0.4986 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.3854, allocations: 1.116 MB / 0.4997 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008925/0.3863, allocations: 323.3 kB / 0.5 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008359/0.3871, allocations: 0.6164 MB / 0.5006 GB, free: 3.195 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3871, allocations: 0 / 0.5006 GB, free: 3.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/0.6639, allocations: 36.27 MB / 0.536 GB, free: 98.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.35, allocations: 7.547 kB / 0.536 GB, free: 98.56 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.86975667392835]