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.001235/0.001235, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001292/0.001292, allocations: 186.8 kB / 24.49 MB, free: 3.961 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.346/1.346, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.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.001477/0.001477, allocations: 43.94 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 52.19 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01402/0.2547, allocations: 11.97 MB / 435.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007953/0.2627, allocations: 3.637 MB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.2649, allocations: 119.4 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.2769, allocations: 5.17 MB / 444.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005294/0.2822, allocations: 1.546 MB / 445.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.2852, allocations: 1.064 MB / 446.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008355/0.2936, allocations: 6.393 MB / 453.3 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01614/0.3097, allocations: 9.138 MB / 462.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.315, allocations: 3.367 MB / 465.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006405/0.3214, allocations: 3.886 MB / 469.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.3236, allocations: 0.8867 MB / 470.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.3269, allocations: 1.058 MB / 471.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002783/0.3297, allocations: 1.769 MB / 473.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005409/0.3351, allocations: 2.794 MB / 476.2 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.3504, allocations: 12.04 MB / 488.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.3504, allocations: 0 / 488.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3504, allocations: 4 kB / 488.2 MB, free: 13.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004669/0.3509, allocations: 4 kB / 488.2 MB, free: 13.26 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.02298/0.3739, allocations: 7.837 MB / 496.1 MB, free: 5.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3739, allocations: 8.031 kB / 496.1 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002329/0.3742, allocations: 200.2 kB / 496.3 MB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003216/0.3774, allocations: 1.051 MB / 497.3 MB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03143/0.4088, allocations: 2.923 MB / 0.4885 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.4201, allocations: 3.744 MB / 0.4922 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005982/0.4207, allocations: 489.1 kB / 0.4926 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/0.4233, allocations: 0.6327 MB / 0.4932 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/0.4515, allocations: 9.518 MB / 0.5025 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/0.4517, allocations: 7.953 kB / 0.5025 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/0.4531, allocations: 268 kB / 0.5028 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003938/0.4535, allocations: 317.5 kB / 0.5031 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.4691, allocations: 7.986 MB / 0.5109 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2384/0.7075, allocations: 25.35 MB / 0.5357 GB, free: 96.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007727/0.7153, allocations: 3.913 MB / 0.5395 GB, free: 95.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.7171, allocations: 1.499 MB / 0.5409 GB, free: 95.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.7173, allocations: 51.08 kB / 0.541 GB, free: 95.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.7173, allocations: 63.91 kB / 0.5411 GB, free: 95.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=254): time 5.129e-06/0.7173, allocations: 3.906 kB / 0.5411 GB, free: 95.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=318): time 0.02069/0.738, allocations: 13.02 MB / 0.5538 GB, free: 91.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.738, allocations: 117.4 kB / 0.5539 GB, free: 91.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.7401, allocations: 1.906 MB / 0.5558 GB, free: 90.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.7402, allocations: 82.27 kB / 0.5558 GB, free: 90.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009257/0.7412, allocations: 2.632 MB / 0.5584 GB, free: 89.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/0.7417, allocations: 1.122 MB / 0.5595 GB, free: 88.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008663/0.7426, allocations: 0.7516 MB / 0.5602 GB, free: 87.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.7426, allocations: 304.9 kB / 0.5605 GB, free: 87.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.7445, allocations: 1.734 MB / 0.5622 GB, free: 86.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.7467, allocations: 2.967 MB / 0.5651 GB, free: 83.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.7509, allocations: 5.016 MB / 0.57 GB, free: 78.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/0.7509, allocations: 11.62 kB / 0.57 GB, free: 78.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006109/0.757, allocations: 5.529 MB / 0.5754 GB, free: 72.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.757, allocations: 27.39 kB / 0.5754 GB, free: 72.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/0.7571, allocations: 36 kB / 0.5755 GB, free: 72.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.7581, allocations: 0.5312 MB / 0.576 GB, free: 71.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.7608, allocations: 0.8853 MB / 0.5769 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/0.7678, allocations: 9.448 MB / 0.5861 GB, free: 61.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.7699, allocations: 203 kB / 0.5863 GB, free: 60.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.7701, allocations: 176 kB / 0.5865 GB, free: 60.8 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 (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.002539/0.7727, allocations: 2.253 MB / 0.5887 GB, free: 58.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/0.773, allocations: 250.3 kB / 0.5889 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005083/0.7781, allocations: 4.287 MB / 0.5931 GB, free: 53.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.7781, allocations: 32 kB / 0.5931 GB, free: 53.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.7781, allocations: 12 kB / 0.5931 GB, free: 53.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.7782, allocations: 15.94 kB / 0.5931 GB, free: 53.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.7927, allocations: 13.05 MB / 0.6059 GB, free: 40.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.7928, allocations: 19.94 kB / 0.6059 GB, free: 40.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.7945, allocations: 0.5383 MB / 0.6064 GB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009033/0.7954, allocations: 470.3 kB / 0.6069 GB, free: 39.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.7956, allocations: 80.36 kB / 0.607 GB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.8016, allocations: 8.473 MB / 0.6152 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.8016, allocations: 23.88 kB / 0.6152 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/0.8082, allocations: 6.498 MB / 0.6216 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.8093, allocations: 0.5294 MB / 0.6221 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.8096, allocations: 79.98 kB / 0.6222 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.8109, allocations: 155.8 kB / 0.6223 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.8113, allocations: 282.2 kB / 0.6226 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.8115, allocations: 104 kB / 0.6227 GB, free: 22.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.8128, allocations: 1.291 MB / 0.624 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8128, allocations: 0 / 0.624 GB, free: 21.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003377/0.8162, allocations: 1.07 MB / 0.625 GB, free: 20.14 MB / 446.1 MB 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.006799/0.823, allocations: 7.184 MB / 0.632 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005636/0.8286, allocations: 4.633 MB / 0.6365 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/0.8287, allocations: 4 kB / 0.6366 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.8311, allocations: 2.331 MB / 0.6388 GB, free: 5.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.8339, allocations: 0.5431 MB / 0.6394 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04886/0.8828, allocations: 32.86 MB / 0.6714 GB, free: 1.914 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004203/0.887, allocations: 3.614 MB / 0.675 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003211/0.8902, allocations: 1.295 MB / 0.6762 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/0.8929, allocations: 2.061 MB / 0.6783 GB, free: 10.9 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/0.8929, allocations: 0 / 0.6783 GB, free: 10.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3605/1.253, allocations: 79.29 MB / 0.7557 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/17.68, allocations: 7.156 kB / 0.7557 GB, free: 180.5 MB / 0.5294 GB " [Timeout remaining time 642] (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: 20.548110277974047]