Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001734/0.001734, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002133/0.002133, allocations: 214.2 kB / 22.99 MB, free: 5.578 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.543 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: 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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2559, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01579/0.2717, allocations: 14.02 MB / 443.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008135/0.2799, allocations: 3.859 MB / 447.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.2817, allocations: 99.75 kB / 447.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.2943, allocations: 5.592 MB / 453.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.3002, allocations: 1.362 MB / 454.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.3039, allocations: 1.222 MB / 456 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008925/0.3128, allocations: 6.408 MB / 462.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01774/0.3306, allocations: 8.641 MB / 471 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.3361, allocations: 3.288 MB / 474.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006315/0.3424, allocations: 3.882 MB / 478.2 MB, free: 6.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002496/0.3449, allocations: 0.8828 MB / 479.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.3488, allocations: 1.094 MB / 480.2 MB, free: 4.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003421/0.3522, allocations: 1.773 MB / 481.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006726/0.359, allocations: 3.556 MB / 485.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.3742, allocations: 12 MB / 497.5 MB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3742, allocations: 0 / 497.5 MB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3742, allocations: 0 / 497.5 MB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002717/0.3745, allocations: 0 / 497.5 MB, free: 3.551 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.0245/0.399, allocations: 7.917 MB / 0.4936 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.399, allocations: 12.02 kB / 0.4936 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02043/0.4195, allocations: 2.869 MB / 0.4964 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009165/0.4286, allocations: 3.753 MB / 0.5 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005354/0.4292, allocations: 489 kB / 0.5005 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/0.4316, allocations: 0.6133 MB / 0.5011 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/0.455, allocations: 9.338 MB / 0.5102 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002381/0.4552, allocations: 7.953 kB / 0.5102 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/0.4568, allocations: 264 kB / 0.5105 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003682/0.4571, allocations: 321.4 kB / 0.5108 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.4752, allocations: 7.973 MB / 0.5186 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.252/0.7272, allocations: 28.77 MB / 0.5467 GB, free: 83.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008067/0.7352, allocations: 11.47 MB / 0.5579 GB, free: 73.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.7371, allocations: 1.451 MB / 0.5593 GB, free: 73.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.7373, allocations: 233.4 kB / 0.5595 GB, free: 73.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.7373, allocations: 60.72 kB / 0.5596 GB, free: 73.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.449e-06/0.7373, allocations: 0 / 0.5596 GB, free: 73.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006766/0.7441, allocations: 4.184 MB / 0.5636 GB, free: 71.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.7441, allocations: 109 kB / 0.5638 GB, free: 71.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.7463, allocations: 1.906 MB / 0.5656 GB, free: 70.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7464, allocations: 65.27 kB / 0.5657 GB, free: 70.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009434/0.7474, allocations: 2.633 MB / 0.5682 GB, free: 68.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.7478, allocations: 0.85 MB / 0.5691 GB, free: 67.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007613/0.7486, allocations: 0.6737 MB / 0.5697 GB, free: 67.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.7486, allocations: 301.1 kB / 0.57 GB, free: 67.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.7501, allocations: 1.404 MB / 0.5714 GB, free: 66.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.7522, allocations: 2.599 MB / 0.5739 GB, free: 64.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.7561, allocations: 4.245 MB / 0.5781 GB, free: 60.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-05/0.7561, allocations: 11.12 kB / 0.5781 GB, free: 60.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005444/0.7616, allocations: 4.541 MB / 0.5825 GB, free: 56.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.7616, allocations: 23.94 kB / 0.5825 GB, free: 56.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.7616, allocations: 36 kB / 0.5826 GB, free: 56.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/0.7623, allocations: 321.2 kB / 0.5829 GB, free: 56.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.7647, allocations: 0.78 MB / 0.5836 GB, free: 55.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.7687, allocations: 5.056 MB / 0.5886 GB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.7707, allocations: 416.8 kB / 0.589 GB, free: 49.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.7709, allocations: 164 kB / 0.5891 GB, free: 49.73 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.002655/0.7735, allocations: 2.191 MB / 0.5913 GB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.7738, allocations: 218.5 kB / 0.5915 GB, free: 47.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.7778, allocations: 3.172 MB / 0.5946 GB, free: 44.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.7779, allocations: 27.98 kB / 0.5946 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7779, allocations: 4 kB / 0.5946 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.7779, allocations: 11.95 kB / 0.5946 GB, free: 44.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.7909, allocations: 12.67 MB / 0.607 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.7909, allocations: 20.25 kB / 0.607 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.7924, allocations: 439.3 kB / 0.6074 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.793, allocations: 275 kB / 0.6077 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.7931, allocations: 67.98 kB / 0.6078 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.7967, allocations: 4.993 MB / 0.6126 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.7968, allocations: 27.81 kB / 0.6127 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/0.8018, allocations: 5.01 MB / 0.6176 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007416/0.8025, allocations: 0.5428 MB / 0.6181 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.8027, allocations: 59.98 kB / 0.6181 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8039, allocations: 123.9 kB / 0.6183 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.8042, allocations: 212.6 kB / 0.6185 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.8043, allocations: 83.98 kB / 0.6185 GB, free: 18.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.8056, allocations: 1.287 MB / 0.6198 GB, free: 17.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8056, allocations: 4 kB / 0.6198 GB, free: 17.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003097/0.8087, allocations: 1.459 MB / 0.6212 GB, free: 15.71 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.0003216/0.809, allocations: 226.3 kB / 0.6214 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.813, allocations: 3.487 MB / 0.6249 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.813, allocations: 4 kB / 0.6249 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.8147, allocations: 1.599 MB / 0.6264 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.8172, allocations: 0.5101 MB / 0.6269 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.8319, allocations: 10.09 MB / 0.6368 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/0.8365, allocations: 4 MB / 0.6407 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003123/0.8396, allocations: 1.195 MB / 0.6418 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.8402, allocations: 203.4 kB / 0.642 GB, free: 10.09 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.8402, allocations: 0 / 0.642 GB, free: 10.09 MB / 462.1 MB Notification: Performance of Templates: time 0.06451/0.9047, allocations: 33.64 MB / 0.6749 GB, free: 8.609 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.892016375437379]