Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2292/0.3457, allocations: 14 MB / 440.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00786/0.3536, allocations: 3.848 MB / 444.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003546/0.3571, allocations: 115.1 kB / 444.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01403/0.3712, allocations: 5.604 MB / 449.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006/0.3772, allocations: 1.357 MB / 451.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.3809, allocations: 1.21 MB / 452.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009819/0.3907, allocations: 6.381 MB / 458.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01876/0.4095, allocations: 10.75 MB / 469.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/0.4153, allocations: 3.351 MB / 472.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006909/0.4222, allocations: 3.873 MB / 476.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002338/0.4245, allocations: 0.8867 MB / 477.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.4289, allocations: 1.09 MB / 478.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003477/0.4324, allocations: 1.773 MB / 480.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008083/0.4404, allocations: 3.572 MB / 484.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.4565, allocations: 11.99 MB / 496.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4566, allocations: 0 / 496.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4566, allocations: 0 / 496.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003148/0.4569, allocations: 0 / 496.1 MB, free: 11.07 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.02238/0.4793, allocations: 7.909 MB / 0.4922 GB, free: 3.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4793, allocations: 16.03 kB / 0.4922 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003278/0.4826, allocations: 1.059 MB / 0.4933 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/0.503, allocations: 2.865 MB / 0.4961 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00822/0.5112, allocations: 3.761 MB / 0.4997 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004532/0.5117, allocations: 481.1 kB / 0.5002 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.5137, allocations: 0.6211 MB / 0.5008 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.5356, allocations: 9.361 MB / 0.51 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001714/0.5357, allocations: 11.95 kB / 0.51 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007976/0.5365, allocations: 268 kB / 0.5102 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003261/0.5369, allocations: 317.5 kB / 0.5105 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.553, allocations: 7.989 MB / 0.5183 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.5992, allocations: 28.8 MB / 0.5465 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.6114, allocations: 11.46 MB / 0.5576 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.614, allocations: 1.459 MB / 0.5591 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.6143, allocations: 232.1 kB / 0.5593 GB, free: 11.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.6144, allocations: 72.88 kB / 0.5594 GB, free: 11.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 4.348e-06/0.6144, allocations: 0 / 0.5594 GB, free: 11.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.008458/0.6229, allocations: 4.175 MB / 0.5634 GB, free: 7.273 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.6229, allocations: 103.1 kB / 0.5635 GB, free: 7.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.6258, allocations: 1.903 MB / 0.5654 GB, free: 5.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.626, allocations: 69.7 kB / 0.5655 GB, free: 5.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/0.6279, allocations: 2.639 MB / 0.568 GB, free: 2.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008284/0.6287, allocations: 0.8561 MB / 0.5689 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.6297, allocations: 0.6718 MB / 0.5695 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6298, allocations: 309.1 kB / 0.5698 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.6321, allocations: 1.408 MB / 0.5712 GB, free: 15.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/0.6352, allocations: 2.599 MB / 0.5737 GB, free: 12.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005917/0.6411, allocations: 4.25 MB / 0.5779 GB, free: 7.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.6411, allocations: 12 kB / 0.5779 GB, free: 7.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007385/0.6485, allocations: 4.531 MB / 0.5823 GB, free: 2.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.6486, allocations: 26.17 kB / 0.5823 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/0.6486, allocations: 40 kB / 0.5824 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008027/0.6494, allocations: 309.9 kB / 0.5827 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.6522, allocations: 0.78 MB / 0.5834 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.658, allocations: 5.057 MB / 0.5884 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.6604, allocations: 421.1 kB / 0.5888 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.6607, allocations: 168 kB / 0.5889 GB, free: 11.7 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 (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.003369/0.6641, allocations: 2.183 MB / 0.5911 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.6645, allocations: 218.6 kB / 0.5913 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005551/0.67, allocations: 3.174 MB / 0.5944 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.6701, allocations: 27.94 kB / 0.5944 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.6701, allocations: 4 kB / 0.5944 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/0.6701, allocations: 11.95 kB / 0.5944 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/0.6889, allocations: 12.67 MB / 0.6068 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.6889, allocations: 12.19 kB / 0.6068 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/0.6907, allocations: 447.3 kB / 0.6072 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007221/0.6914, allocations: 284.8 kB / 0.6075 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.6915, allocations: 67.98 kB / 0.6076 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/0.6972, allocations: 4.986 MB / 0.6124 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.866e-05/0.6972, allocations: 19.94 kB / 0.6125 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.199/0.8962, allocations: 5.012 MB / 0.6174 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.8974, allocations: 0.5396 MB / 0.6179 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/0.8979, allocations: 65.72 kB / 0.6179 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/0.8995, allocations: 119.1 kB / 0.6181 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004283/0.8999, allocations: 207.8 kB / 0.6183 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/0.9002, allocations: 92.03 kB / 0.6183 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00227/0.9024, allocations: 1.287 MB / 0.6196 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.9024, allocations: 3.438 kB / 0.6196 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004105/0.9065, allocations: 1.464 MB / 0.621 GB, free: 153.8 MB / 0.5137 GB 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.007197/0.9137, allocations: 5.677 MB / 0.6266 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005448/0.9192, allocations: 3.496 MB / 0.63 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.9192, allocations: 2.75 kB / 0.63 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.9216, allocations: 1.596 MB / 0.6316 GB, free: 149 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.9248, allocations: 0.5126 MB / 0.6321 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03862/0.9634, allocations: 29 MB / 0.6604 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/0.9666, allocations: 4.015 MB / 0.6643 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002502/0.9691, allocations: 1.191 MB / 0.6655 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/0.9709, allocations: 2.012 MB / 0.6674 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.253e-06/0.9709, allocations: 0 / 0.6674 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09481/1.066, allocations: 67.08 MB / 0.7329 GB, free: 64.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.03, allocations: 6 kB / 0.7329 GB, free: 64.34 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 17.811553230974823]