Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001817/0.001817, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 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.002084/0.002084, allocations: 185 kB / 23.71 MB, free: 4.434 MB / 14.72 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 1.489/1.489, allocations: 225.7 MB / 252.5 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] 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: 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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.92 kB / 370.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2475, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01473/0.2623, allocations: 11.99 MB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007862/0.2701, allocations: 3.659 MB / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.2724, allocations: 119.4 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.2854, allocations: 5.161 MB / 444 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.2908, allocations: 1.534 MB / 445.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.2942, allocations: 1.057 MB / 446.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009934/0.3042, allocations: 6.39 MB / 453 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02/0.3242, allocations: 9.052 MB / 462 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006052/0.3302, allocations: 3.367 MB / 465.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007875/0.3381, allocations: 3.729 MB / 469.1 MB, free: 216 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002728/0.3408, allocations: 0.8868 MB / 470 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.3446, allocations: 1.055 MB / 471.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003241/0.3479, allocations: 1.773 MB / 472.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005822/0.3537, allocations: 2.798 MB / 475.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.3691, allocations: 12.04 MB / 487.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3691, allocations: 0 / 487.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3691, allocations: 0 / 487.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002584/0.3694, allocations: 0 / 487.7 MB, free: 13.61 MB / 398.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.02657/0.396, allocations: 7.837 MB / 495.5 MB, free: 5.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.528e-05/0.396, allocations: 12.03 kB / 495.5 MB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02092/0.417, allocations: 2.916 MB / 498.4 MB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009851/0.4268, allocations: 3.725 MB / 0.4904 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/0.4273, allocations: 484.9 kB / 0.4909 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/0.4298, allocations: 0.621 MB / 0.4915 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.4509, allocations: 9.469 MB / 0.5007 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.451, allocations: 7.953 kB / 0.5007 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006761/0.4517, allocations: 264 kB / 0.501 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003456/0.4521, allocations: 321.3 kB / 0.5013 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.4686, allocations: 7.911 MB / 0.509 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05156/0.5202, allocations: 24.07 MB / 0.5325 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.23/0.7501, allocations: 3.888 MB / 0.5363 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/0.7527, allocations: 1.449 MB / 0.5377 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.7528, allocations: 48.98 kB / 0.5378 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.7529, allocations: 62.88 kB / 0.5378 GB, free: 101.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.949e-06/0.7529, allocations: 1.562 kB / 0.5378 GB, free: 101.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006979/0.7599, allocations: 4.008 MB / 0.5418 GB, free: 100.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.7599, allocations: 106.6 kB / 0.5419 GB, free: 100.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.7619, allocations: 1.955 MB / 0.5438 GB, free: 99.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.762, allocations: 65.61 kB / 0.5438 GB, free: 99.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/0.7629, allocations: 2.643 MB / 0.5464 GB, free: 98.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.7633, allocations: 0.8519 MB / 0.5472 GB, free: 97.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007133/0.764, allocations: 0.6606 MB / 0.5479 GB, free: 97.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.7641, allocations: 305.1 kB / 0.5482 GB, free: 96.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.7656, allocations: 1.409 MB / 0.5495 GB, free: 96.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.7676, allocations: 2.599 MB / 0.5521 GB, free: 94.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.7714, allocations: 4.229 MB / 0.5562 GB, free: 91.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.7714, allocations: 11.41 kB / 0.5562 GB, free: 91.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005244/0.7766, allocations: 4.515 MB / 0.5606 GB, free: 87.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.7767, allocations: 20 kB / 0.5607 GB, free: 87.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.7767, allocations: 40.81 kB / 0.5607 GB, free: 87.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000664/0.7774, allocations: 315.6 kB / 0.561 GB, free: 87.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.7797, allocations: 0.7835 MB / 0.5618 GB, free: 86.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.7835, allocations: 4.732 MB / 0.5664 GB, free: 82.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.7856, allocations: 419.6 kB / 0.5668 GB, free: 81.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.7858, allocations: 163.5 kB / 0.5669 GB, free: 81.54 MB / 446.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.002651/0.7884, allocations: 2.192 MB / 0.5691 GB, free: 79.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.7887, allocations: 210.6 kB / 0.5693 GB, free: 79.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.7928, allocations: 3.177 MB / 0.5724 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.7928, allocations: 28 kB / 0.5724 GB, free: 76.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7928, allocations: 4 kB / 0.5724 GB, free: 76.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.7928, allocations: 15.89 kB / 0.5724 GB, free: 76.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.8048, allocations: 9.553 MB / 0.5818 GB, free: 66.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.8048, allocations: 19 kB / 0.5818 GB, free: 66.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.8063, allocations: 447.2 kB / 0.5822 GB, free: 65.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.8069, allocations: 266.2 kB / 0.5825 GB, free: 65.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.807, allocations: 67.98 kB / 0.5825 GB, free: 65.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/0.8107, allocations: 4.673 MB / 0.5871 GB, free: 60.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.8107, allocations: 23.88 kB / 0.5871 GB, free: 60.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/0.816, allocations: 4.995 MB / 0.592 GB, free: 55.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.8171, allocations: 489.7 kB / 0.5925 GB, free: 55.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.8173, allocations: 59.98 kB / 0.5925 GB, free: 55.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.8185, allocations: 124 kB / 0.5926 GB, free: 54.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.8188, allocations: 213.2 kB / 0.5928 GB, free: 54.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.8189, allocations: 83.94 kB / 0.5929 GB, free: 54.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.8203, allocations: 1.282 MB / 0.5942 GB, free: 53.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8203, allocations: 0 / 0.5942 GB, free: 53.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003207/0.8235, allocations: 1.455 MB / 0.5956 GB, free: 51.86 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.000337/0.8239, allocations: 210.7 kB / 0.5958 GB, free: 51.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004484/0.8283, allocations: 3.485 MB / 0.5992 GB, free: 48.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.8284, allocations: 4 kB / 0.5992 GB, free: 48.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.8302, allocations: 1.589 MB / 0.6007 GB, free: 46.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.8328, allocations: 0.5052 MB / 0.6012 GB, free: 46.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.8462, allocations: 10.14 MB / 0.6111 GB, free: 35.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.8492, allocations: 3.497 MB / 0.6145 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002579/0.8517, allocations: 1.187 MB / 0.6157 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.8522, allocations: 187.4 kB / 0.6159 GB, free: 30.76 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8522, allocations: 0 / 0.6159 GB, free: 30.76 MB / 446.1 MB Notification: Performance of Templates: time 0.05046/0.9027, allocations: 35.27 MB / 0.6503 GB, free: 11.87 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.939460488036275]