Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001966/0.001966, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002241/0.002241, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 55.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3266, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.009774/0.3364, allocations: 5.991 MB / 437.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.342, allocations: 2.165 MB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.3436, allocations: 51.62 kB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.3453, allocations: 402.4 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.3481, allocations: 0.5944 MB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.3491, allocations: 243.6 kB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.353, allocations: 2.241 MB / 442.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002745/0.3558, allocations: 1.166 MB / 444 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.359, allocations: 1.087 MB / 445.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.3613, allocations: 1.253 MB / 446.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007941/0.3621, allocations: 288 kB / 446.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3634, allocations: 383.8 kB / 447 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3645, allocations: 0.7207 MB / 447.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.367, allocations: 1.233 MB / 449 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005632/0.3726, allocations: 3.826 MB / 452.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.3726, allocations: 0 / 452.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.3726, allocations: 3.938 kB / 452.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.3727, allocations: 0 / 452.8 MB, free: 0.9297 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.005999/0.3787, allocations: 2.381 MB / 455.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.3788, allocations: 12.03 kB / 455.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003716/0.3792, allocations: 274.3 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3802, allocations: 287.5 kB / 455.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.3829, allocations: 1.315 MB / 457.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.383, allocations: 135.9 kB / 457.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.3833, allocations: 179.9 kB / 457.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.3878, allocations: 2.579 MB / 460 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.3878, allocations: 0 / 460 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.388, allocations: 75.98 kB / 460 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.3881, allocations: 107.6 kB / 460.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/0.3919, allocations: 2.13 MB / 462.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.4042, allocations: 7.488 MB / 469.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.4055, allocations: 0.7053 MB / 470.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.4062, allocations: 443.4 kB / 470.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.4065, allocations: 44.41 kB / 470.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.4065, allocations: 39 kB / 471 MB, free: 14.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.414e-06/0.4065, allocations: 0 / 471 MB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004497/0.411, allocations: 2.141 MB / 473.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.4111, allocations: 93.48 kB / 473.2 MB, free: 12.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.4134, allocations: 1.525 MB / 474.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.4134, allocations: 37.7 kB / 474.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009614/0.4144, allocations: 1.009 MB / 475.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4146, allocations: 210.3 kB / 476 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.415, allocations: 238.8 kB / 476.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.4152, allocations: 358 kB / 476.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/0.4159, allocations: 470.2 kB / 477 MB, free: 8.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4173, allocations: 1.108 MB / 478.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.4194, allocations: 1.636 MB / 479.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.4194, allocations: 8 kB / 479.8 MB, free: 4.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003002/0.4224, allocations: 1.703 MB / 481.5 MB, free: 3.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.4225, allocations: 16.09 kB / 481.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.4225, allocations: 31.98 kB / 481.5 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/0.4233, allocations: 184.6 kB / 481.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.4242, allocations: 283.5 kB / 482 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.4268, allocations: 2.267 MB / 484.2 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4279, allocations: 95.75 kB / 484.3 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.428, allocations: 68 kB / 484.4 MB, free: 40 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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.00141/0.4294, allocations: 0.7079 MB / 485.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.4297, allocations: 135.2 kB / 485.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.4314, allocations: 0.8374 MB / 486.1 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4314, allocations: 4 kB / 486.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4314, allocations: 4 kB / 486.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4314, allocations: 0 / 486.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.4358, allocations: 2.486 MB / 488.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4358, allocations: 4 kB / 488.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.4362, allocations: 95.88 kB / 488.7 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006694/0.4368, allocations: 157 kB / 488.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.4369, allocations: 15.98 kB / 488.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.4393, allocations: 2.211 MB / 491.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.4393, allocations: 4 kB / 491.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.4414, allocations: 1.318 MB / 492.4 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.442, allocations: 223.1 kB / 492.6 MB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.4423, allocations: 12 kB / 492.6 MB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/0.443, allocations: 48.03 kB / 492.7 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4431, allocations: 59.78 kB / 492.7 MB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.4432, allocations: 20 kB / 492.7 MB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.4449, allocations: 1.044 MB / 493.8 MB, free: 6.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4449, allocations: 0 / 493.8 MB, free: 6.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001563/0.4465, allocations: 359.9 kB / 494.1 MB, free: 6.023 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.002731/0.4492, allocations: 1.939 MB / 496.1 MB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.4514, allocations: 1.13 MB / 497.2 MB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.4514, allocations: 4 kB / 497.2 MB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.4523, allocations: 0.4916 MB / 497.7 MB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.4546, allocations: 380 kB / 498.1 MB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/0.482, allocations: 14.06 MB / 0.5001 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.4841, allocations: 1.71 MB / 0.5018 GB, free: 1.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.4852, allocations: 327.4 kB / 0.5021 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.4862, allocations: 0.6243 MB / 0.5027 GB, free: 388 kB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4862, allocations: 0 / 0.5027 GB, free: 388 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3302/0.8163, allocations: 35.19 MB / 0.5371 GB, free: 98.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.25, allocations: 11.36 kB / 0.5371 GB, free: 98.68 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.848362364107743]