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.001316/0.001316, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001353/0.001353, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.351/1.351, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001477/0.001477, allocations: 43.94 kB / 371.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2484, allocations: 52.2 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008321/0.2568, allocations: 5.965 MB / 429.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.2611, allocations: 2.084 MB / 431.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.262, allocations: 47.69 kB / 431.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.2631, allocations: 405.4 kB / 431.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.2647, allocations: 0.5788 MB / 432.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.2652, allocations: 223.7 kB / 432.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002587/0.2678, allocations: 2.221 MB / 434.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.2694, allocations: 1.159 MB / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.2715, allocations: 1.065 MB / 437.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.2732, allocations: 1.245 MB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.2736, allocations: 288 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006658/0.2742, allocations: 375.7 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006836/0.2749, allocations: 0.7091 MB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.2766, allocations: 1.229 MB / 441 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.2806, allocations: 3.785 MB / 444.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2806, allocations: 0 / 444.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2806, allocations: 0 / 444.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.503e-05/0.2806, allocations: 0 / 444.8 MB, free: 9.094 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.00468/0.2853, allocations: 2.361 MB / 447.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2854, allocations: 16.02 kB / 447.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.184e-05/0.2854, allocations: 43.73 kB / 447.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.2858, allocations: 274.2 kB / 447.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/0.2865, allocations: 263.5 kB / 447.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.2888, allocations: 1.303 MB / 449 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.289, allocations: 135.5 kB / 449.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.2892, allocations: 172 kB / 449.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.2933, allocations: 2.551 MB / 451.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.2933, allocations: 0 / 451.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.2935, allocations: 79.92 kB / 452 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.2936, allocations: 103.5 kB / 452.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003469/0.297, allocations: 2.103 MB / 454.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.3082, allocations: 7.251 MB / 461.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.3094, allocations: 0.7042 MB / 462.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.3101, allocations: 447.6 kB / 462.5 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.3103, allocations: 36.41 kB / 462.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3103, allocations: 43 kB / 462.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.255e-06/0.3103, allocations: 0 / 462.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003902/0.3142, allocations: 2.133 MB / 464.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.3143, allocations: 85.55 kB / 464.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.3164, allocations: 1.516 MB / 466.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.3164, allocations: 37.64 kB / 466.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/0.3172, allocations: 0.9978 MB / 467.4 MB, free: 2.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.3174, allocations: 206.4 kB / 467.6 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.3177, allocations: 242.7 kB / 467.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3179, allocations: 361.9 kB / 468.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.3187, allocations: 454.3 kB / 468.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.3199, allocations: 1.094 MB / 469.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.322, allocations: 1.615 MB / 471.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.322, allocations: 8 kB / 471.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002809/0.3248, allocations: 1.687 MB / 473 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3248, allocations: 18.66 kB / 473.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3248, allocations: 24 kB / 473.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007053/0.3255, allocations: 177.1 kB / 473.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/0.3264, allocations: 287.5 kB / 473.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.329, allocations: 2.258 MB / 475.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/0.3299, allocations: 87.92 kB / 475.9 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.09e-05/0.33, allocations: 71.94 kB / 475.9 MB, free: 8.707 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.001006/0.331, allocations: 0.7117 MB / 476.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.3312, allocations: 135.2 kB / 476.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.3327, allocations: 0.8373 MB / 477.6 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3327, allocations: 4 kB / 477.6 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3327, allocations: 8.062 kB / 477.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3327, allocations: 0 / 477.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.3367, allocations: 2.47 MB / 480.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3367, allocations: 4 kB / 480.1 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.337, allocations: 91.88 kB / 480.2 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.3377, allocations: 156.9 kB / 480.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.3377, allocations: 12 kB / 480.4 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.34, allocations: 2.2 MB / 482.6 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.3401, allocations: 8.266 kB / 482.6 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.3421, allocations: 1.326 MB / 483.9 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.3426, allocations: 215.1 kB / 484.1 MB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.3427, allocations: 19.92 kB / 484.1 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/0.3433, allocations: 48.03 kB / 484.2 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3434, allocations: 51.8 kB / 484.2 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.3435, allocations: 19.98 kB / 484.2 MB, free: 120 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.345, allocations: 1.032 MB / 485.3 MB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.345, allocations: 8 kB / 485.3 MB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00127/0.3462, allocations: 351.9 kB / 485.6 MB, free: 14.73 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.002621/0.3489, allocations: 1.948 MB / 487.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.3509, allocations: 1.117 MB / 488.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3509, allocations: 0 / 488.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.3518, allocations: 0.5112 MB / 489.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.3535, allocations: 371.5 kB / 489.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/0.3738, allocations: 13.93 MB / 0.4917 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.3754, allocations: 1.706 MB / 0.4934 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009084/0.3763, allocations: 323.3 kB / 0.4937 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008356/0.3771, allocations: 0.6125 MB / 0.4943 GB, free: 9.234 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3771, allocations: 0 / 0.4943 GB, free: 9.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/0.4545, allocations: 34.97 MB / 0.5284 GB, free: 6.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.08, allocations: 0 / 0.5284 GB, free: 6.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.747261954005808]