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.001828/0.001828, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002094/0.002094, allocations: 208.1 kB / 23.73 MB, free: 4.391 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.001958/0.001958, allocations: 67.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2376, allocations: 53.41 MB / 431.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007344/0.245, allocations: 5.331 MB / 436.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004109/0.2491, allocations: 2.036 MB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.2496, allocations: 51.69 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009779/0.2506, allocations: 389.4 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.252, allocations: 0.5983 MB / 439.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.2524, allocations: 239.7 kB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002329/0.2547, allocations: 2.237 MB / 442 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.2563, allocations: 1.127 MB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.2583, allocations: 1.09 MB / 444.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.2602, allocations: 1.21 MB / 445.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.2607, allocations: 292 kB / 445.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.2614, allocations: 371.8 kB / 446.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007017/0.2621, allocations: 0.7245 MB / 446.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.2633, allocations: 0.9999 MB / 447.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.2674, allocations: 3.839 MB / 451.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.2674, allocations: 4 kB / 451.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2674, allocations: 0 / 451.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.519e-05/0.2674, allocations: 0 / 451.7 MB, free: 1.824 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.004713/0.2722, allocations: 2.389 MB / 454.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.2722, allocations: 11.98 kB / 454.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/0.2726, allocations: 274.3 kB / 454.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009528/0.2735, allocations: 283.5 kB / 454.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.2763, allocations: 1.323 MB / 455.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.2764, allocations: 131.9 kB / 456.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.2767, allocations: 183.9 kB / 456.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/0.2815, allocations: 2.776 MB / 459 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.2815, allocations: 0 / 459 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.2817, allocations: 75.98 kB / 459.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.2818, allocations: 103.6 kB / 459.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.2856, allocations: 2.13 MB / 461.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.2971, allocations: 6.683 MB / 468 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2984, allocations: 0.6994 MB / 468.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/0.2991, allocations: 439.5 kB / 469.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.2993, allocations: 40.41 kB / 469.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.2994, allocations: 43 kB / 469.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.565e-06/0.2994, allocations: 0 / 469.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.00419/0.3036, allocations: 2.141 MB / 471.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3036, allocations: 93.42 kB / 471.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.3059, allocations: 1.564 MB / 473 MB, free: 11.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.306, allocations: 37.7 kB / 473 MB, free: 11.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.3069, allocations: 1.017 MB / 474.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.3071, allocations: 202.4 kB / 474.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.3075, allocations: 250.7 kB / 474.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3077, allocations: 354 kB / 474.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.3084, allocations: 466.2 kB / 475.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.3098, allocations: 1.129 MB / 476.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.3119, allocations: 1.64 MB / 478.1 MB, free: 6.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.3119, allocations: 8 kB / 478.1 MB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003074/0.315, allocations: 1.707 MB / 479.8 MB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.315, allocations: 16 kB / 479.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.3151, allocations: 20 kB / 479.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.3158, allocations: 181.1 kB / 480 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.3167, allocations: 287.5 kB / 480.3 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.3196, allocations: 2.238 MB / 482.5 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.3209, allocations: 91.75 kB / 482.6 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.321, allocations: 72 kB / 482.7 MB, free: 1.508 MB / 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.001245/0.3222, allocations: 0.7118 MB / 483.4 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.3225, allocations: 135.2 kB / 483.5 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3241, allocations: 0.8413 MB / 484.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3241, allocations: 12 kB / 484.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3241, allocations: 192 / 484.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3241, allocations: 0 / 484.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.3286, allocations: 2.347 MB / 486.7 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/0.3286, allocations: 4 kB / 486.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.329, allocations: 95.88 kB / 486.8 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.3296, allocations: 153 kB / 487 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.3296, allocations: 19.98 kB / 487 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.3321, allocations: 2.18 MB / 489.2 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.3321, allocations: 7.984 kB / 489.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.3342, allocations: 1.325 MB / 490.5 MB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006193/0.3348, allocations: 211.1 kB / 490.7 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.335, allocations: 19.98 kB / 490.7 MB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.3356, allocations: 52.03 kB / 490.8 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.3357, allocations: 51.8 kB / 490.8 MB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.3357, allocations: 20 kB / 490.8 MB, free: 9.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.3373, allocations: 1.048 MB / 491.9 MB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3373, allocations: 0 / 491.9 MB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001349/0.3387, allocations: 351.9 kB / 492.2 MB, free: 7.652 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.002691/0.3414, allocations: 1.953 MB / 494.2 MB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.3434, allocations: 1.141 MB / 495.3 MB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3434, allocations: 0 / 495.3 MB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.3442, allocations: 0.4914 MB / 495.8 MB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.3458, allocations: 374.3 kB / 496.2 MB, free: 3.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/0.3671, allocations: 14.04 MB / 0.4983 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.3686, allocations: 1.132 MB / 0.4994 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.3696, allocations: 323.4 kB / 0.4997 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/0.3705, allocations: 0.6243 MB / 0.5003 GB, free: 2.594 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3705, allocations: 4 kB / 0.5003 GB, free: 2.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/0.6447, allocations: 36.39 MB / 0.5358 GB, free: 99.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.01, allocations: 9.719 kB / 0.5358 GB, free: 99.81 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.505093591287732]