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.0008204/0.0008204, allocations: 76.08 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.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.0007606/0.0007606, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9039/0.9039, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.642e-05, allocations: 9.453 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004863/0.0049, allocations: 5.295 MB / 323.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.008088, allocations: 1.971 MB / 325.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.008572, allocations: 51.62 kB / 325.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.009382, allocations: 405.3 kB / 326.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.01051, allocations: 0.586 MB / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.01084, allocations: 223.7 kB / 327 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.01225, allocations: 2.294 MB / 329.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.01338, allocations: 1.127 MB / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.01556, allocations: 1.564 MB / 331.9 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.01701, allocations: 1.079 MB / 333 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.01748, allocations: 288 kB / 333.3 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.01805, allocations: 375.8 kB / 333.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.01856, allocations: 0.7323 MB / 334.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.01992, allocations: 0.8576 MB / 335.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.02283, allocations: 3.837 MB / 339.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.02284, allocations: 4 kB / 339.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.02284, allocations: 0 / 339.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.02295, allocations: 0 / 339.1 MB, free: 1.578 MB / 298.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.004552/0.02751, allocations: 2.341 MB / 341.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.02756, allocations: 12.86 kB / 341.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000257/0.02781, allocations: 278.2 kB / 341.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.02829, allocations: 263.5 kB / 342 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.03008, allocations: 1.295 MB / 343.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.03015, allocations: 131.9 kB / 343.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.03032, allocations: 176.1 kB / 343.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.03321, allocations: 2.756 MB / 346.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.03323, allocations: 0 / 346.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.03334, allocations: 72 kB / 346.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.03341, allocations: 103.6 kB / 346.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.03559, allocations: 2.103 MB / 348.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007096/0.04268, allocations: 6.641 MB / 355.2 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/0.04355, allocations: 0.6951 MB / 355.9 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.04405, allocations: 459.2 kB / 356.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.0442, allocations: 36.47 kB / 356.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.04423, allocations: 39.06 kB / 356.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.465e-06/0.04423, allocations: 0 / 356.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002895/0.04712, allocations: 2.148 MB / 358.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.04718, allocations: 89.59 kB / 358.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.04871, allocations: 1.539 MB / 360.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.04875, allocations: 37.7 kB / 360.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.04925, allocations: 0.9977 MB / 361.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.04936, allocations: 206.3 kB / 361.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.04958, allocations: 234.8 kB / 361.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.0497, allocations: 357.9 kB / 362.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.05016, allocations: 458.3 kB / 362.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.05095, allocations: 1.116 MB / 363.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.05222, allocations: 1.624 MB / 365.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.05223, allocations: 8 kB / 365.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002013/0.05424, allocations: 1.689 MB / 366.9 MB, free: 4.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.05427, allocations: 16 kB / 367 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.05429, allocations: 20 kB / 367 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.05476, allocations: 181.1 kB / 367.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.05526, allocations: 287.5 kB / 367.4 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.05729, allocations: 2.238 MB / 369.7 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.05798, allocations: 87.81 kB / 369.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.05804, allocations: 64 kB / 369.8 MB, free: 1.578 MB / 330.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.0007718/0.05881, allocations: 0.708 MB / 370.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.05895, allocations: 135.2 kB / 370.7 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.05985, allocations: 0.8504 MB / 371.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.05986, allocations: 4 kB / 371.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.05986, allocations: 4 kB / 371.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.05987, allocations: 3.938 kB / 371.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.06229, allocations: 2.322 MB / 373.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.0623, allocations: 4 kB / 373.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.0625, allocations: 95.81 kB / 373.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003628/0.06286, allocations: 161 kB / 374.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.06289, allocations: 12 kB / 374.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.06444, allocations: 2.184 MB / 376.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.06444, allocations: 4.062 kB / 376.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.06619, allocations: 1.312 MB / 377.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.06664, allocations: 215.1 kB / 377.8 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.06673, allocations: 15.94 kB / 377.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.06705, allocations: 48.03 kB / 377.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/0.06714, allocations: 59.8 kB / 377.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.06717, allocations: 20 kB / 378 MB, free: 9.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.06822, allocations: 1.032 MB / 379 MB, free: 8.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06822, allocations: 0 / 379 MB, free: 8.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001055/0.06928, allocations: 355.9 kB / 379.3 MB, free: 7.773 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.001805/0.07108, allocations: 1.94 MB / 381.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.07249, allocations: 1.134 MB / 382.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.07249, allocations: 0 / 382.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.073, allocations: 0.4955 MB / 382.9 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.07411, allocations: 375.5 kB / 383.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.09227, allocations: 13.93 MB / 397.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.09331, allocations: 1.12 MB / 398.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006296/0.09394, allocations: 327.2 kB / 398.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/0.09444, allocations: 0.6175 MB / 399.3 MB, free: 2.859 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.09445, allocations: 0 / 399.3 MB, free: 2.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.1462, allocations: 36.14 MB / 435.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.072, allocations: 15.62 kB / 435.4 MB, free: 15.1 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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: 9.833194648846984]