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.001309/0.001309, allocations: 112.6 kB / 18.49 MB, free: 4.562 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.001317/0.001317, allocations: 193 kB / 21.43 MB, free: 1.633 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.38/1.38, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 48.06 kB / 366.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09766, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01522/0.1129, allocations: 13.98 MB / 432.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008083/0.121, allocations: 3.8 MB / 436.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.1229, allocations: 111.5 kB / 436.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01324/0.1361, allocations: 5.597 MB / 442 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.1418, allocations: 1.536 MB / 443.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.145, allocations: 1.053 MB / 444.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1979/0.3428, allocations: 6.293 MB / 450.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01572/0.3586, allocations: 10.74 MB / 461.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.364, allocations: 3.35 MB / 465 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007129/0.3711, allocations: 3.87 MB / 468.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.3739, allocations: 0.8848 MB / 469.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.3778, allocations: 1.073 MB / 470.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.3796, allocations: 1.769 MB / 472.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006947/0.3865, allocations: 3.739 MB / 476.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.3986, allocations: 11.98 MB / 488.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3987, allocations: 0 / 488.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3987, allocations: 0 / 488.3 MB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.3989, allocations: 0 / 488.3 MB, free: 9.492 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.02014/0.4191, allocations: 7.907 MB / 496.2 MB, free: 2.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4191, allocations: 8.031 kB / 496.2 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002182/0.4193, allocations: 202.2 kB / 496.4 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002165/0.4215, allocations: 1.059 MB / 497.4 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.4402, allocations: 2.919 MB / 0.4886 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008525/0.4487, allocations: 3.755 MB / 0.4923 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/0.4492, allocations: 492.6 kB / 0.4928 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.4512, allocations: 0.6235 MB / 0.4934 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.4734, allocations: 9.365 MB / 0.5025 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.4735, allocations: 11.95 kB / 0.5025 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/0.4748, allocations: 271.5 kB / 0.5028 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000373/0.4751, allocations: 317.5 kB / 0.5031 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.4912, allocations: 7.983 MB / 0.5109 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04491/0.5361, allocations: 28.5 MB / 0.5387 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.5489, allocations: 11.48 MB / 0.5499 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.5514, allocations: 1.499 MB / 0.5514 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.5517, allocations: 130.7 kB / 0.5515 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.5517, allocations: 75.48 kB / 0.5516 GB, free: 12.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=254): time 3.717e-06/0.5517, allocations: 0 / 0.5516 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=318): time 0.02722/0.5789, allocations: 13.33 MB / 0.5646 GB, free: 15.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.579, allocations: 115.7 kB / 0.5647 GB, free: 15.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.5817, allocations: 1.895 MB / 0.5666 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002498/0.582, allocations: 73.7 kB / 0.5666 GB, free: 13.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/0.5838, allocations: 2.637 MB / 0.5692 GB, free: 10.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.5849, allocations: 1.13 MB / 0.5703 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.5861, allocations: 0.7481 MB / 0.5711 GB, free: 8.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5862, allocations: 305.1 kB / 0.5713 GB, free: 8.199 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/0.5889, allocations: 1.733 MB / 0.573 GB, free: 6.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/0.5927, allocations: 2.965 MB / 0.5759 GB, free: 2.953 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006848/0.5995, allocations: 5.013 MB / 0.5808 GB, free: 13.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-05/0.5995, allocations: 12 kB / 0.5808 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.009147/0.6087, allocations: 5.528 MB / 0.5862 GB, free: 8.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.6087, allocations: 20 kB / 0.5863 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-05/0.6088, allocations: 40 kB / 0.5863 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.6102, allocations: 0.5386 MB / 0.5868 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.6136, allocations: 0.8868 MB / 0.5877 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.6252, allocations: 9.977 MB / 0.5974 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.6278, allocations: 195.9 kB / 0.5976 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/0.6282, allocations: 180 kB / 0.5978 GB, free: 11.99 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.003639/0.6319, allocations: 2.261 MB / 0.6 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.6323, allocations: 246.4 kB / 0.6002 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007468/0.6398, allocations: 4.285 MB / 0.6044 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.6398, allocations: 32 kB / 0.6044 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.6398, allocations: 11.94 kB / 0.6045 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.6398, allocations: 15.94 kB / 0.6045 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0217/0.6616, allocations: 14.28 MB / 0.6184 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/0.6616, allocations: 16 kB / 0.6184 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/0.6637, allocations: 0.5405 MB / 0.619 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.6649, allocations: 468.5 kB / 0.6194 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.6651, allocations: 79.98 kB / 0.6195 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009993/0.6751, allocations: 8.995 MB / 0.6283 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-05/0.6751, allocations: 26.84 kB / 0.6283 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00989/0.685, allocations: 6.493 MB / 0.6346 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.6862, allocations: 0.5852 MB / 0.6352 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.6865, allocations: 79.98 kB / 0.6353 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.688, allocations: 151.8 kB / 0.6354 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.6885, allocations: 269.6 kB / 0.6357 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.6886, allocations: 108 kB / 0.6358 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001922/0.6906, allocations: 1.291 MB / 0.6371 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6906, allocations: 0 / 0.6371 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003522/0.6941, allocations: 1.074 MB / 0.6381 GB, free: 1.609 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.198/0.8921, allocations: 7.168 MB / 0.6451 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007732/0.8998, allocations: 4.642 MB / 0.6496 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/0.8998, allocations: 4.688 kB / 0.6496 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.9034, allocations: 2.326 MB / 0.6519 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.9068, allocations: 0.5386 MB / 0.6524 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04683/0.9536, allocations: 32.78 MB / 0.6844 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/0.9568, allocations: 4.129 MB / 0.6885 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002709/0.9595, allocations: 1.293 MB / 0.6897 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/0.9616, allocations: 2.052 MB / 0.6917 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.9616, allocations: 0 / 0.6917 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.073, allocations: 75.87 MB / 0.7658 GB, free: 76.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.97, allocations: 15.58 kB / 0.7659 GB, free: 76.84 MB / 0.5294 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] 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: 18.87191016599536]