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.001293/0.001293, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.00153/0.00153, allocations: 212.7 kB / 21.46 MB, free: 1.602 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.52/1.52, allocations: 230.4 MB / 254.7 MB, free: 15.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.132, allocations: 53.37 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01811/0.1501, allocations: 14 MB / 441.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.1604, allocations: 3.859 MB / 444.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.164, allocations: 119.4 kB / 445.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2479/0.4119, allocations: 5.579 MB / 450.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.4184, allocations: 1.363 MB / 452 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.423, allocations: 1.212 MB / 453.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009718/0.4327, allocations: 6.375 MB / 459.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.4493, allocations: 10.75 MB / 470.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00621/0.4555, allocations: 3.352 MB / 473.7 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.4658, allocations: 4.137 MB / 477.8 MB, free: 0 / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003521/0.4693, allocations: 0.8852 MB / 478.7 MB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.4749, allocations: 1.091 MB / 479.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003384/0.4783, allocations: 1.774 MB / 481.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008908/0.4872, allocations: 3.564 MB / 485.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.5047, allocations: 12 MB / 497.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5047, allocations: 0 / 497.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5047, allocations: 0 / 497.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003652/0.5051, allocations: 0 / 497.1 MB, free: 2.992 MB / 382.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.02325/0.5283, allocations: 7.913 MB / 0.4932 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5284, allocations: 8.031 kB / 0.4932 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000245/0.5286, allocations: 203.6 kB / 0.4934 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002645/0.5313, allocations: 1.056 MB / 0.4944 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/0.5509, allocations: 2.881 MB / 0.4973 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008419/0.5593, allocations: 3.762 MB / 0.5009 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.5598, allocations: 487 kB / 0.5014 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.562, allocations: 0.6315 MB / 0.502 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.5843, allocations: 9.378 MB / 0.5112 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001966/0.5845, allocations: 15.94 kB / 0.5112 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.5856, allocations: 269 kB / 0.5114 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003567/0.5859, allocations: 317.5 kB / 0.5117 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.6025, allocations: 8.011 MB / 0.5196 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05215/0.6547, allocations: 28.98 MB / 0.5479 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.6675, allocations: 11.49 MB / 0.5591 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.6704, allocations: 1.498 MB / 0.5606 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.6708, allocations: 234.8 kB / 0.5608 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.6708, allocations: 60.88 kB / 0.5608 GB, free: 3.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=254): time 4.248e-06/0.6708, allocations: 0 / 0.5608 GB, free: 3.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=318): time 0.03014/0.701, allocations: 13.32 MB / 0.5738 GB, free: 5.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.7011, allocations: 115.7 kB / 0.5739 GB, free: 5.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.704, allocations: 1.907 MB / 0.5758 GB, free: 3.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004347/0.7045, allocations: 73.7 kB / 0.5759 GB, free: 3.742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.7066, allocations: 2.638 MB / 0.5785 GB, free: 1.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/0.7081, allocations: 1.122 MB / 0.5796 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.7094, allocations: 0.7598 MB / 0.5803 GB, free: 15.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7096, allocations: 313.1 kB / 0.5806 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.7123, allocations: 1.733 MB / 0.5823 GB, free: 13.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/0.7163, allocations: 2.973 MB / 0.5852 GB, free: 9.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/0.7235, allocations: 5.026 MB / 0.5901 GB, free: 4.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/0.7235, allocations: 12 kB / 0.5901 GB, free: 4.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01016/0.7337, allocations: 5.549 MB / 0.5955 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.7337, allocations: 24 kB / 0.5956 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-05/0.7338, allocations: 36 kB / 0.5956 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.7352, allocations: 0.5382 MB / 0.5961 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/0.7389, allocations: 0.8892 MB / 0.597 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.7503, allocations: 9.974 MB / 0.6067 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/0.7535, allocations: 195.9 kB / 0.6069 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/0.7539, allocations: 184 kB / 0.6071 GB, free: 2.117 MB / 0.4981 GB 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 (466): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,22,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004633/0.7586, allocations: 2.253 MB / 0.6093 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/0.7592, allocations: 246.4 kB / 0.6095 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007646/0.7668, allocations: 4.283 MB / 0.6137 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.7668, allocations: 28 kB / 0.6137 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.7669, allocations: 15.94 kB / 0.6137 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.7669, allocations: 19.94 kB / 0.6138 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/0.7911, allocations: 15.18 MB / 0.6286 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/0.7911, allocations: 16 kB / 0.6286 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/0.7933, allocations: 0.5421 MB / 0.6291 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.7945, allocations: 465.5 kB / 0.6296 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.7948, allocations: 87.98 kB / 0.6297 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.8052, allocations: 9.002 MB / 0.6384 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-05/0.8052, allocations: 35.8 kB / 0.6385 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2479/1.053, allocations: 6.496 MB / 0.6448 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.054, allocations: 0.5942 MB / 0.6454 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/1.055, allocations: 79.23 kB / 0.6455 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/1.056, allocations: 152.7 kB / 0.6456 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/1.057, allocations: 269.7 kB / 0.6459 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.057, allocations: 113.6 kB / 0.646 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002136/1.059, allocations: 1.29 MB / 0.6473 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.059, allocations: 0 / 0.6473 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00437/1.064, allocations: 1.073 MB / 0.6483 GB, free: 163.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * 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 (288): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,14,100.0%), (1,5,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009438/1.073, allocations: 7.195 MB / 0.6553 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007603/1.081, allocations: 4.642 MB / 0.6599 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.197e-05/1.081, allocations: 2.906 kB / 0.6599 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003555/1.084, allocations: 2.337 MB / 0.6621 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/1.089, allocations: 0.5534 MB / 0.6627 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0478/1.137, allocations: 32.75 MB / 0.6947 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/1.14, allocations: 4.13 MB / 0.6987 GB, free: 135 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002981/1.143, allocations: 1.289 MB / 0.7 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.145, allocations: 2.074 MB / 0.702 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/1.145, allocations: 0 / 0.702 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.263, allocations: 76.1 MB / 0.7763 GB, free: 57.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/17.54, allocations: 18.12 kB / 0.7763 GB, free: 57.05 MB / 0.5294 GB " [Timeout remaining time 642] (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: 20.709849315986503]