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.0009717/0.0009717, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001289/0.001289, allocations: 149.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 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 0.9057/0.9057, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.554e-05, allocations: 2.281 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009811/0.009836, allocations: 11.99 MB / 330.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.01567, allocations: 3.64 MB / 334.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.01681, allocations: 119.4 kB / 334.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.02157, allocations: 5.48 MB / 339.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.02442, allocations: 1.584 MB / 341.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.02589, allocations: 1.052 MB / 342.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005135/0.03103, allocations: 6.598 MB / 348.9 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008953/0.03998, allocations: 9.069 MB / 358 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.04393, allocations: 4.942 MB / 362.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.04667, allocations: 3.349 MB / 366.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008801/0.04755, allocations: 0.8867 MB / 367.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.04873, allocations: 1.062 MB / 368.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.0498, allocations: 1.808 MB / 370 MB, free: 2.512 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.05208, allocations: 2.39 MB / 372.4 MB, free: 120 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007639/0.05972, allocations: 12.1 MB / 384.5 MB, free: 3.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.05973, allocations: 3.938 kB / 384.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.05973, allocations: 0 / 384.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002942/0.06003, allocations: 0 / 384.5 MB, free: 3.98 MB / 346.7 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.01338/0.07341, allocations: 7.779 MB / 392.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.07346, allocations: 8.922 kB / 392.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001588/0.07504, allocations: 1.05 MB / 393.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009272/0.08432, allocations: 2.924 MB / 396.3 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.08867, allocations: 3.736 MB / 400 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.08889, allocations: 481.1 kB / 400.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006605/0.08955, allocations: 0.6327 MB / 401.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.1007, allocations: 9.489 MB / 410.6 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.035e-05/0.1008, allocations: 7.953 kB / 410.6 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004262/0.1012, allocations: 264 kB / 410.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/0.1014, allocations: 317.5 kB / 411.2 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009161/0.1106, allocations: 7.927 MB / 419.1 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.1352, allocations: 25.2 MB / 444.3 MB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.1402, allocations: 3.909 MB / 448.2 MB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.1417, allocations: 1.447 MB / 449.7 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1418, allocations: 53.95 kB / 449.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1418, allocations: 56.56 kB / 449.8 MB, free: 1.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.519e-06/0.1418, allocations: 3.938 kB / 449.8 MB, free: 1.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.1584/0.3002, allocations: 4.004 MB / 453.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3003, allocations: 102.8 kB / 453.9 MB, free: 113.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.302, allocations: 1.982 MB / 455.9 MB, free: 112.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.3021, allocations: 65.36 kB / 455.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.3028, allocations: 2.638 MB / 458.6 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.3031, allocations: 0.8376 MB / 459.4 MB, free: 110.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005079/0.3036, allocations: 0.656 MB / 460.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.835e-05/0.3037, allocations: 301.1 kB / 460.3 MB, free: 110.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.3049, allocations: 1.408 MB / 461.8 MB, free: 109.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.3063, allocations: 2.591 MB / 464.3 MB, free: 107.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.309, allocations: 4.235 MB / 468.6 MB, free: 105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.3091, allocations: 14.94 kB / 468.6 MB, free: 105 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003595/0.3127, allocations: 4.513 MB / 473.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.3127, allocations: 23.94 kB / 473.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.3127, allocations: 40 kB / 473.2 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.3131, allocations: 312.7 kB / 473.5 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3144, allocations: 0.7806 MB / 474.3 MB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.317, allocations: 4.775 MB / 479 MB, free: 96.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/0.318, allocations: 419 kB / 479.4 MB, free: 96.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.3182, allocations: 164 kB / 479.6 MB, free: 95.89 MB / 410.7 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.001982/0.3201, allocations: 2.193 MB / 481.8 MB, free: 94.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3203, allocations: 218.2 kB / 482 MB, free: 93.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.3229, allocations: 3.182 MB / 485.2 MB, free: 90.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3229, allocations: 24 kB / 485.2 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3229, allocations: 4 kB / 485.2 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3229, allocations: 11.95 kB / 485.2 MB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008396/0.3313, allocations: 10.65 MB / 495.9 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.3313, allocations: 16 kB / 495.9 MB, free: 79.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.3321, allocations: 447.4 kB / 496.3 MB, free: 79.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/0.3324, allocations: 268.1 kB / 496.6 MB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/0.3325, allocations: 71.98 kB / 496.7 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.3348, allocations: 4.723 MB / 0.4896 GB, free: 74.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.3348, allocations: 23.94 kB / 0.4897 GB, free: 74.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.3383, allocations: 4.964 MB / 0.4945 GB, free: 69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.3387, allocations: 481.8 kB / 0.495 GB, free: 68.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.3388, allocations: 68.05 kB / 0.495 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.3394, allocations: 119.9 kB / 0.4951 GB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.3396, allocations: 217.2 kB / 0.4954 GB, free: 68.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.3397, allocations: 84.31 kB / 0.4954 GB, free: 68.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008536/0.3405, allocations: 1.291 MB / 0.4967 GB, free: 66.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 0.4967 GB, free: 66.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001984/0.3425, allocations: 1.459 MB / 0.4981 GB, free: 65.3 MB / 410.7 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.003826/0.3464, allocations: 5.636 MB / 0.5036 GB, free: 59.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.3492, allocations: 3.496 MB / 0.507 GB, free: 55.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3492, allocations: 4 kB / 0.507 GB, free: 55.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3503, allocations: 1.584 MB / 0.5086 GB, free: 54.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3517, allocations: 0.5151 MB / 0.5091 GB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/0.3741, allocations: 29 MB / 0.5374 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.3762, allocations: 3.51 MB / 0.5408 GB, free: 19.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00152/0.3777, allocations: 1.191 MB / 0.542 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.379, allocations: 1.992 MB / 0.544 GB, free: 16.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.379, allocations: 0 / 0.544 GB, free: 16.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2123/0.5913, allocations: 68.11 MB / 0.6105 GB, free: 131.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.968, allocations: 3.688 kB / 0.6105 GB, free: 131.2 MB / 458.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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: 10.913648053072393]