Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001296/0.001296, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001457/0.001457, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.417/1.417, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 56.66 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08748, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01472/0.1022, allocations: 11.99 MB / 390.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007396/0.1096, allocations: 3.711 MB / 394.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.1115, allocations: 123.4 kB / 394.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01317/0.1246, allocations: 5.464 MB / 400.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.1295, allocations: 1.397 MB / 401.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.1323, allocations: 1.18 MB / 402.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007473/0.1397, allocations: 6.487 MB / 409.3 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.1518, allocations: 9.065 MB / 418.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.1557, allocations: 3.363 MB / 421.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004927/0.1606, allocations: 3.725 MB / 425.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.1618, allocations: 0.8828 MB / 426.3 MB, free: 60 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.1636, allocations: 1.082 MB / 427.4 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.1653, allocations: 1.773 MB / 429.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003076/0.1683, allocations: 2.794 MB / 432 MB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.1813, allocations: 12.05 MB / 444 MB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1813, allocations: 7.938 kB / 444 MB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1813, allocations: 4 kB / 444 MB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002885/0.1816, allocations: 0 / 444 MB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02006/0.2016, allocations: 7.833 MB / 451.8 MB, free: 6.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2017, allocations: 8.031 kB / 451.9 MB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/0.2218, allocations: 2.877 MB / 454.7 MB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/0.2295, allocations: 3.752 MB / 458.5 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.2299, allocations: 481 kB / 458.9 MB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.2314, allocations: 0.621 MB / 459.6 MB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/0.2594, allocations: 9.488 MB / 469.1 MB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/0.2597, allocations: 15.88 kB / 469.1 MB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001762/0.2614, allocations: 264 kB / 469.3 MB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005227/0.262, allocations: 313.4 kB / 469.6 MB, free: 4.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2213/0.4833, allocations: 7.932 MB / 477.6 MB, free: 76.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03167/0.515, allocations: 24.1 MB / 0.4899 GB, free: 62.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/0.5217, allocations: 3.903 MB / 0.4937 GB, free: 60.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.5234, allocations: 1.452 MB / 0.4951 GB, free: 59.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.5235, allocations: 68.78 kB / 0.4952 GB, free: 59.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5236, allocations: 68.81 kB / 0.4953 GB, free: 59.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=238): time 4.688e-06/0.5236, allocations: 0 / 0.4953 GB, free: 59.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.00636/0.5299, allocations: 4.033 MB / 0.4992 GB, free: 55.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.53, allocations: 107.1 kB / 0.4993 GB, free: 55.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.5318, allocations: 1.961 MB / 0.5012 GB, free: 53.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/0.5318, allocations: 65.7 kB / 0.5013 GB, free: 53.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008054/0.5327, allocations: 2.635 MB / 0.5039 GB, free: 50.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.533, allocations: 0.8587 MB / 0.5047 GB, free: 49.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007054/0.5337, allocations: 0.668 MB / 0.5054 GB, free: 49.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.5338, allocations: 306.9 kB / 0.5057 GB, free: 48.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.5353, allocations: 1.404 MB / 0.507 GB, free: 47.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.5373, allocations: 2.599 MB / 0.5096 GB, free: 44.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.5409, allocations: 4.246 MB / 0.5137 GB, free: 39.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.5409, allocations: 12 kB / 0.5137 GB, free: 39.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005231/0.5461, allocations: 4.531 MB / 0.5181 GB, free: 35.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.5462, allocations: 24 kB / 0.5182 GB, free: 35.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.5462, allocations: 36 kB / 0.5182 GB, free: 35.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.5468, allocations: 319 kB / 0.5185 GB, free: 34.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.5492, allocations: 0.78 MB / 0.5193 GB, free: 33.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.5529, allocations: 4.73 MB / 0.5239 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.5547, allocations: 417.1 kB / 0.5243 GB, free: 28.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.5549, allocations: 164 kB / 0.5244 GB, free: 28.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002352/0.5572, allocations: 2.187 MB / 0.5266 GB, free: 26.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.5575, allocations: 218.5 kB / 0.5268 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.5615, allocations: 3.175 MB / 0.5299 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.5615, allocations: 31.98 kB / 0.5299 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5615, allocations: 4 kB / 0.5299 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.5615, allocations: 15.56 kB / 0.5299 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.5725, allocations: 9.652 MB / 0.5394 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.5725, allocations: 20.06 kB / 0.5394 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.574, allocations: 440.1 kB / 0.5398 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000533/0.5746, allocations: 281.5 kB / 0.5401 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.5747, allocations: 67.98 kB / 0.5401 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.5782, allocations: 4.676 MB / 0.5447 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.5783, allocations: 19.94 kB / 0.5447 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.5833, allocations: 5.01 MB / 0.5496 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.584, allocations: 485.8 kB / 0.5501 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.5842, allocations: 60 kB / 0.5501 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5854, allocations: 124 kB / 0.5502 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.5857, allocations: 217.2 kB / 0.5505 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5858, allocations: 89.95 kB / 0.5505 GB, free: 1.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.5871, allocations: 1.282 MB / 0.5518 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5871, allocations: 0 / 0.5518 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003509/0.5906, allocations: 1.455 MB / 0.5532 GB, free: 14.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003548/0.591, allocations: 222.5 kB / 0.5534 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005051/0.5961, allocations: 3.494 MB / 0.5568 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.5961, allocations: 4 kB / 0.5568 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.5983, allocations: 1.6 MB / 0.5584 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.6007, allocations: 0.5059 MB / 0.5589 GB, free: 8.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.6156, allocations: 10.08 MB / 0.5687 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/0.6196, allocations: 3.493 MB / 0.5722 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002782/0.6224, allocations: 1.187 MB / 0.5733 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.623, allocations: 208.4 kB / 0.5735 GB, free: 9.242 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.623, allocations: 0 / 0.5735 GB, free: 9.242 MB / 462.1 MB Notification: Performance of Templates: time 0.05585/0.6788, allocations: 30.18 MB / 0.603 GB, free: 11.41 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 5.575643428019248]