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.001353/0.001353, allocations: 69.95 kB / 21.24 MB, free: 0.5547 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.001381/0.001381, allocations: 152 kB / 24.49 MB, free: 3.723 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.377/1.377, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 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: 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.001598/0.001598, allocations: 51.39 kB / 319.4 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08585, allocations: 52.16 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01565/0.1015, allocations: 11.98 MB / 383.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007562/0.1091, allocations: 3.652 MB / 387.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.1101, allocations: 119.4 kB / 387.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.1225, allocations: 5.468 MB / 392.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004254/0.1268, allocations: 1.541 MB / 394.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.1293, allocations: 1.047 MB / 395.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007504/0.1368, allocations: 6.393 MB / 401.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.1491, allocations: 9.05 MB / 410.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.1532, allocations: 3.367 MB / 414.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.1583, allocations: 3.726 MB / 417.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.1595, allocations: 0.8867 MB / 418.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.1613, allocations: 1.058 MB / 419.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.1631, allocations: 1.777 MB / 421.7 MB, free: 5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00323/0.1663, allocations: 2.794 MB / 424.4 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.1786, allocations: 12.03 MB / 436.5 MB, free: 6.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1786, allocations: 0 / 436.5 MB, free: 6.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1786, allocations: 0 / 436.5 MB, free: 6.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000159/0.1787, allocations: 0 / 436.5 MB, free: 6.125 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.0181/0.1968, allocations: 7.83 MB / 444.3 MB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1969, allocations: 12.92 kB / 444.3 MB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01911/0.216, allocations: 2.916 MB / 447.2 MB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007247/0.2232, allocations: 3.74 MB / 451 MB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.2237, allocations: 485 kB / 451.5 MB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.2247, allocations: 0.6171 MB / 452.1 MB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.2408, allocations: 9.469 MB / 461.5 MB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.2409, allocations: 11.94 kB / 461.5 MB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006482/0.2415, allocations: 260 kB / 461.8 MB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/0.2419, allocations: 313.4 kB / 462.1 MB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.2554, allocations: 7.919 MB / 470 MB, free: 4.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1987/0.4541, allocations: 24.07 MB / 494.1 MB, free: 72.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007031/0.4611, allocations: 3.907 MB / 498 MB, free: 70.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.4628, allocations: 1.454 MB / 499.5 MB, free: 69.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.463, allocations: 48.78 kB / 499.5 MB, free: 69.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.463, allocations: 58.06 kB / 499.6 MB, free: 69.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=238): time 4.859e-06/0.463, allocations: 3.156 kB / 499.6 MB, free: 69.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=238): time 0.006364/0.4694, allocations: 4.016 MB / 0.4918 GB, free: 67.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.4694, allocations: 111.1 kB / 0.4919 GB, free: 67.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.4714, allocations: 1.951 MB / 0.4938 GB, free: 66.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.4715, allocations: 64.95 kB / 0.4938 GB, free: 66.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008021/0.4723, allocations: 2.642 MB / 0.4964 GB, free: 64.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.4726, allocations: 0.85 MB / 0.4973 GB, free: 64.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007158/0.4734, allocations: 0.6679 MB / 0.4979 GB, free: 63.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.168e-05/0.4734, allocations: 301.1 kB / 0.4982 GB, free: 63.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.4749, allocations: 1.4 MB / 0.4996 GB, free: 61.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.4769, allocations: 2.595 MB / 0.5021 GB, free: 58.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.4805, allocations: 4.234 MB / 0.5062 GB, free: 53.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.4805, allocations: 12 kB / 0.5062 GB, free: 53.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005218/0.4857, allocations: 4.516 MB / 0.5107 GB, free: 49.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4857, allocations: 27.98 kB / 0.5107 GB, free: 49.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.4857, allocations: 36 kB / 0.5107 GB, free: 49.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.4864, allocations: 312.1 kB / 0.511 GB, free: 49.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.4888, allocations: 0.78 MB / 0.5118 GB, free: 48.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.4927, allocations: 4.731 MB / 0.5164 GB, free: 43.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.4944, allocations: 421.1 kB / 0.5168 GB, free: 42.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/0.4946, allocations: 160 kB / 0.517 GB, free: 42.74 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.002342/0.497, allocations: 2.184 MB / 0.5191 GB, free: 40.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.4972, allocations: 230.6 kB / 0.5193 GB, free: 40.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.5013, allocations: 3.175 MB / 0.5224 GB, free: 37.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.5014, allocations: 27.94 kB / 0.5224 GB, free: 37.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5014, allocations: 8 kB / 0.5224 GB, free: 37.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.5014, allocations: 11.95 kB / 0.5225 GB, free: 37.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.5127, allocations: 9.551 MB / 0.5318 GB, free: 27.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.5127, allocations: 20.06 kB / 0.5318 GB, free: 27.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.5143, allocations: 439.3 kB / 0.5322 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/0.5148, allocations: 270.1 kB / 0.5325 GB, free: 26.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.5149, allocations: 67.98 kB / 0.5325 GB, free: 26.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/0.5186, allocations: 4.68 MB / 0.5371 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.5186, allocations: 23.88 kB / 0.5371 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.5237, allocations: 4.991 MB / 0.542 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/0.5245, allocations: 485.8 kB / 0.5425 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.5247, allocations: 59.98 kB / 0.5425 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5259, allocations: 128 kB / 0.5426 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5261, allocations: 209.3 kB / 0.5428 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.5263, allocations: 83.98 kB / 0.5429 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.5276, allocations: 1.286 MB / 0.5442 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5276, allocations: 0 / 0.5442 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003039/0.5306, allocations: 1.448 MB / 0.5456 GB, free: 12.75 MB / 430.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.0002936/0.5309, allocations: 222.4 kB / 0.5458 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003985/0.5349, allocations: 3.48 MB / 0.5492 GB, free: 9.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5349, allocations: 4 kB / 0.5492 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.5366, allocations: 1.598 MB / 0.5508 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.5389, allocations: 0.5022 MB / 0.5513 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.553, allocations: 10.13 MB / 0.5612 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/0.5574, allocations: 3.489 MB / 0.5646 GB, free: 9.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003073/0.5604, allocations: 1.191 MB / 0.5657 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.561, allocations: 188.5 kB / 0.5659 GB, free: 7.641 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.561, allocations: 3.938 kB / 0.5659 GB, free: 7.637 MB / 446.1 MB Notification: Performance of Templates: time 0.05618/0.6172, allocations: 29.66 MB / 0.5949 GB, free: 10.34 MB / 478.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/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.414085392025299]