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.0008804/0.0008804, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009648/0.0009648, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9082/0.9082, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.15e-05, allocations: 8.953 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004929/0.004951, allocations: 5.324 MB / 329.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.007969, allocations: 2.029 MB / 331.9 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.008485, allocations: 51.62 kB / 332 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.009299, allocations: 393.3 kB / 332.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.01038, allocations: 0.5977 MB / 333 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.01071, allocations: 235.7 kB / 333.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.01239, allocations: 2.306 MB / 335.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.01354, allocations: 1.135 MB / 336.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.01569, allocations: 1.572 MB / 338.2 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.017, allocations: 1.091 MB / 339.3 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.01739, allocations: 288 kB / 339.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.01794, allocations: 371.8 kB / 339.9 MB, free: 484 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.01839, allocations: 0.7362 MB / 340.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008442/0.01924, allocations: 0.8537 MB / 341.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.0219, allocations: 3.849 MB / 345.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.02191, allocations: 3.938 kB / 345.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.02191, allocations: 0 / 345.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.02202, allocations: 0 / 345.4 MB, free: 11.02 MB / 314.7 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.003726/0.02574, allocations: 2.345 MB / 347.7 MB, free: 8.633 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.02579, allocations: 16.03 kB / 347.7 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.02605, allocations: 274.2 kB / 348 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005632/0.02661, allocations: 283.5 kB / 348.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.02819, allocations: 1.322 MB / 349.6 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.02825, allocations: 131.9 kB / 349.7 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.02842, allocations: 172.1 kB / 349.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.0312, allocations: 2.756 MB / 352.7 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.03123, allocations: 4 kB / 352.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.03134, allocations: 75.94 kB / 352.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.992e-05/0.03141, allocations: 99.58 kB / 352.8 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.0338, allocations: 2.103 MB / 354.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007599/0.0414, allocations: 6.633 MB / 361.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.04258, allocations: 0.72 MB / 362.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.04306, allocations: 446.8 kB / 362.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.04321, allocations: 36.47 kB / 362.8 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.04324, allocations: 39.17 kB / 362.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 4.018e-06/0.04325, allocations: 7.938 kB / 362.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.003072/0.04632, allocations: 2.141 MB / 364.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.04638, allocations: 81.61 kB / 365 MB, free: 6.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.04822, allocations: 1.555 MB / 366.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.04827, allocations: 37.7 kB / 366.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.04877, allocations: 0.994 MB / 367.6 MB, free: 4.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.04889, allocations: 202.4 kB / 367.8 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.04912, allocations: 242.7 kB / 368 MB, free: 3.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.04924, allocations: 365.8 kB / 368.4 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.04971, allocations: 454.3 kB / 368.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.05076, allocations: 1.116 MB / 370 MB, free: 1.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.05209, allocations: 1.62 MB / 371.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.0521, allocations: 7.984 kB / 371.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001936/0.05404, allocations: 1.689 MB / 373.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.05407, allocations: 19.94 kB / 373.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.05409, allocations: 24 kB / 373.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/0.05455, allocations: 172.8 kB / 373.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.05505, allocations: 287.5 kB / 373.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.05708, allocations: 2.238 MB / 376 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/0.05778, allocations: 87.81 kB / 376.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.05785, allocations: 64 kB / 376.2 MB, free: 10.96 MB / 346.7 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.0009411/0.05879, allocations: 0.7156 MB / 376.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.05897, allocations: 139.2 kB / 377 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009494/0.05992, allocations: 0.831 MB / 377.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.05992, allocations: 11.97 kB / 377.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.05993, allocations: 0 / 377.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.05993, allocations: 0 / 377.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.0625, allocations: 2.324 MB / 380.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.06251, allocations: 12.02 kB / 380.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.06271, allocations: 91.89 kB / 380.3 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/0.06305, allocations: 152.6 kB / 380.4 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.06308, allocations: 15.98 kB / 380.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.06453, allocations: 2.184 MB / 382.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.06453, allocations: 8.312 kB / 382.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.06603, allocations: 1.32 MB / 384 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.06637, allocations: 215.1 kB / 384.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.06646, allocations: 23.86 kB / 384.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.06678, allocations: 43.97 kB / 384.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.06687, allocations: 47.98 kB / 384.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.0669, allocations: 23.98 kB / 384.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.06793, allocations: 1.04 MB / 385.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06793, allocations: 3.938 kB / 385.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009432/0.06887, allocations: 351.9 kB / 385.7 MB, free: 1.145 MB / 346.7 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.001762/0.07063, allocations: 1.934 MB / 387.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.07197, allocations: 1.13 MB / 388.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.07198, allocations: 4 kB / 388.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.07247, allocations: 495.4 kB / 389.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.07345, allocations: 384.7 kB / 389.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.08917, allocations: 13.99 MB / 403.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/0.08998, allocations: 1.124 MB / 404.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006079/0.09059, allocations: 323.4 kB / 405 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.09111, allocations: 0.6175 MB / 405.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.09112, allocations: 0 / 405.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.143, allocations: 36.26 MB / 441.9 MB, free: 8.312 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.837, allocations: 11.08 kB / 441.9 MB, free: 8.305 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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: 9.699407276697457]