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.001753/0.001753, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.002507/0.002507, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8.195 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 55.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2613, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01711/0.2784, allocations: 14.02 MB / 445.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008656/0.2871, allocations: 3.87 MB / 449.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.2894, allocations: 119.4 kB / 449.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01281/0.3022, allocations: 5.599 MB / 454.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.3078, allocations: 1.425 MB / 456.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.3114, allocations: 1.225 MB / 457.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.322, allocations: 6.494 MB / 464 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01887/0.3408, allocations: 9.15 MB / 473.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006367/0.3472, allocations: 3.363 MB / 476.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007215/0.3544, allocations: 3.89 MB / 480.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002715/0.3571, allocations: 0.8828 MB / 481.2 MB, free: 4.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.3609, allocations: 1.09 MB / 482.3 MB, free: 3.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003527/0.3644, allocations: 1.769 MB / 484.1 MB, free: 1.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007144/0.3715, allocations: 3.572 MB / 487.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.3881, allocations: 11.99 MB / 499.7 MB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3882, allocations: 0 / 499.7 MB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3882, allocations: 0 / 499.7 MB, free: 1.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003819/0.3885, allocations: 0 / 499.7 MB, free: 1.922 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.02441/0.4129, allocations: 7.84 MB / 0.4956 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.413, allocations: 8.031 kB / 0.4956 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003435/0.4164, allocations: 1.058 MB / 0.4966 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/0.4361, allocations: 2.881 MB / 0.4995 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.4466, allocations: 3.748 MB / 0.5031 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004539/0.447, allocations: 485.1 kB / 0.5036 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/0.4493, allocations: 0.6249 MB / 0.5042 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/0.4699, allocations: 9.358 MB / 0.5133 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/0.4701, allocations: 7.953 kB / 0.5133 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.4715, allocations: 267.9 kB / 0.5136 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/0.4718, allocations: 317.5 kB / 0.5139 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.4892, allocations: 7.985 MB / 0.5217 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2974/0.7866, allocations: 27.42 MB / 0.5485 GB, free: 83.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006815/0.7935, allocations: 3.956 MB / 0.5523 GB, free: 82.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.7953, allocations: 1.449 MB / 0.5538 GB, free: 81.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.7955, allocations: 89.52 kB / 0.5538 GB, free: 81.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.7955, allocations: 60.38 kB / 0.5539 GB, free: 81.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.228e-06/0.7955, allocations: 0 / 0.5539 GB, free: 81.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006429/0.8019, allocations: 4.039 MB / 0.5578 GB, free: 80.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.802, allocations: 101.4 kB / 0.5579 GB, free: 80.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.804, allocations: 1.896 MB / 0.5598 GB, free: 79.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.8041, allocations: 68.81 kB / 0.5599 GB, free: 79.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.8052, allocations: 2.646 MB / 0.5624 GB, free: 77.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004571/0.8056, allocations: 0.8504 MB / 0.5633 GB, free: 76.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007315/0.8064, allocations: 0.6677 MB / 0.5639 GB, free: 76.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.8064, allocations: 308.9 kB / 0.5642 GB, free: 75.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.808, allocations: 1.404 MB / 0.5656 GB, free: 75.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.81, allocations: 2.592 MB / 0.5681 GB, free: 72.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.8139, allocations: 4.255 MB / 0.5723 GB, free: 69.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.8139, allocations: 8 kB / 0.5723 GB, free: 69.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005257/0.8192, allocations: 4.542 MB / 0.5767 GB, free: 64.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.8192, allocations: 27.72 kB / 0.5767 GB, free: 64.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/0.8192, allocations: 36 kB / 0.5768 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.8199, allocations: 309.7 kB / 0.5771 GB, free: 64.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.8222, allocations: 0.7878 MB / 0.5778 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/0.8261, allocations: 4.841 MB / 0.5826 GB, free: 58.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.828, allocations: 412.2 kB / 0.583 GB, free: 58.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.8282, allocations: 164 kB / 0.5831 GB, free: 58.22 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.00282/0.831, allocations: 2.191 MB / 0.5853 GB, free: 56.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.8314, allocations: 218.6 kB / 0.5855 GB, free: 55.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.8354, allocations: 3.174 MB / 0.5886 GB, free: 52.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.8354, allocations: 24 kB / 0.5886 GB, free: 52.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.8354, allocations: 4 kB / 0.5886 GB, free: 52.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.8355, allocations: 11.95 kB / 0.5886 GB, free: 52.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.8487, allocations: 11.04 MB / 0.5994 GB, free: 41.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.8488, allocations: 14.7 kB / 0.5994 GB, free: 41.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.8502, allocations: 439.4 kB / 0.5998 GB, free: 40.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/0.8508, allocations: 285.6 kB / 0.6001 GB, free: 40.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.8509, allocations: 67.98 kB / 0.6002 GB, free: 40.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.8546, allocations: 4.773 MB / 0.6048 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.8546, allocations: 19.94 kB / 0.6048 GB, free: 35.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005173/0.8598, allocations: 5.018 MB / 0.6097 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.8608, allocations: 489.7 kB / 0.6102 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.861, allocations: 60 kB / 0.6103 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.8622, allocations: 123.8 kB / 0.6104 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.8624, allocations: 217.3 kB / 0.6106 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.8626, allocations: 87.98 kB / 0.6107 GB, free: 29.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.8639, allocations: 1.294 MB / 0.6119 GB, free: 28.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8639, allocations: 0 / 0.6119 GB, free: 28.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003316/0.8672, allocations: 1.456 MB / 0.6134 GB, free: 26.57 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.005399/0.8726, allocations: 5.682 MB / 0.6189 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004425/0.877, allocations: 3.495 MB / 0.6223 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.8771, allocations: 4.312 kB / 0.6223 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.8788, allocations: 1.592 MB / 0.6239 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.8813, allocations: 0.5195 MB / 0.6244 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04193/0.9232, allocations: 29.08 MB / 0.6528 GB, free: 128 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00523/0.9284, allocations: 4.004 MB / 0.6567 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003178/0.9316, allocations: 1.195 MB / 0.6579 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/0.9345, allocations: 2.011 MB / 0.6598 GB, free: 8.871 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.9345, allocations: 0 / 0.6598 GB, free: 8.871 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/1.077, allocations: 69.94 MB / 0.7281 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/17.04, allocations: 7.797 kB / 0.7281 GB, free: 3.117 MB / 0.5294 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_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: 19.78654729994014]