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.0009911/0.0009911, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008158/0.0008158, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.863/0.863, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.822e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008747/0.008765, allocations: 12.02 MB / 336.5 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005664/0.01443, allocations: 3.714 MB / 340.3 MB, free: 72 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.01547, allocations: 115.5 kB / 340.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004943/0.02041, allocations: 5.491 MB / 345.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.023, allocations: 1.42 MB / 347.3 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.02459, allocations: 1.18 MB / 348.5 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004151/0.02874, allocations: 6.673 MB / 355.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007388/0.03613, allocations: 9.092 MB / 364.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.03935, allocations: 4.934 MB / 369.2 MB, free: 3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.042, allocations: 3.353 MB / 372.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006758/0.04267, allocations: 0.8828 MB / 373.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.04374, allocations: 1.085 MB / 374.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008955/0.04464, allocations: 1.808 MB / 376.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00177/0.04641, allocations: 2.39 MB / 378.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.05316, allocations: 12.12 MB / 390.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.05316, allocations: 0 / 390.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.05316, allocations: 4 kB / 390.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.825e-05/0.05324, allocations: 0 / 390.8 MB, free: 13.3 MB / 362.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.009948/0.06319, allocations: 7.767 MB / 398.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.06324, allocations: 15.98 kB / 398.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.06427, allocations: 1.058 MB / 399.6 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008989/0.07326, allocations: 2.877 MB / 402.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.07729, allocations: 3.759 MB / 406.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.0775, allocations: 481.1 kB / 406.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006109/0.07811, allocations: 0.6249 MB / 407.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009777/0.08789, allocations: 9.509 MB / 416.9 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-05/0.08798, allocations: 7.953 kB / 416.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004438/0.08842, allocations: 271.9 kB / 417.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.08861, allocations: 313.5 kB / 417.5 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008418/0.09703, allocations: 7.954 MB / 425.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.1199, allocations: 25.23 MB / 450.6 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1558/0.2757, allocations: 3.919 MB / 454.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.2773, allocations: 1.454 MB / 456 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.2775, allocations: 65.58 kB / 456.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.2775, allocations: 67.53 kB / 456.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 5.16e-06/0.2775, allocations: 0 / 456.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.004555/0.2821, allocations: 4.032 MB / 460.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.2821, allocations: 102.3 kB / 460.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.2839, allocations: 1.973 MB / 462.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.284, allocations: 65.14 kB / 462.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008058/0.2848, allocations: 2.637 MB / 465 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.2852, allocations: 0.8412 MB / 465.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005469/0.2857, allocations: 0.6687 MB / 466.5 MB, free: 102.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.709e-05/0.2858, allocations: 309.1 kB / 466.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.2869, allocations: 1.407 MB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.2884, allocations: 2.6 MB / 470.8 MB, free: 99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.2912, allocations: 4.246 MB / 475 MB, free: 94.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-05/0.2912, allocations: 8 kB / 475 MB, free: 94.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003781/0.295, allocations: 4.536 MB / 479.6 MB, free: 90.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.295, allocations: 24 kB / 479.6 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.295, allocations: 36 kB / 479.6 MB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.2955, allocations: 309.7 kB / 479.9 MB, free: 90.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.2967, allocations: 0.7795 MB / 480.7 MB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.2994, allocations: 4.778 MB / 485.5 MB, free: 84.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3006, allocations: 417.1 kB / 485.9 MB, free: 84.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3007, allocations: 168 kB / 486.1 MB, free: 83.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.002194/0.3029, allocations: 2.191 MB / 488.2 MB, free: 81.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.3031, allocations: 218.6 kB / 488.5 MB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.306, allocations: 3.166 MB / 491.6 MB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.306, allocations: 31.56 kB / 491.7 MB, free: 78.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.306, allocations: 7.984 kB / 491.7 MB, free: 78.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.306, allocations: 15.94 kB / 491.7 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009707/0.3157, allocations: 10.75 MB / 0.4907 GB, free: 67.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.3157, allocations: 16 kB / 0.4907 GB, free: 67.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/0.3165, allocations: 439.3 kB / 0.4911 GB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003712/0.3169, allocations: 278.1 kB / 0.4914 GB, free: 66.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.55e-05/0.317, allocations: 71.97 kB / 0.4914 GB, free: 66.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/0.3196, allocations: 4.718 MB / 0.496 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3196, allocations: 22.47 kB / 0.4961 GB, free: 61.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.3234, allocations: 4.991 MB / 0.5009 GB, free: 56.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006695/0.3241, allocations: 481.8 kB / 0.5014 GB, free: 55.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.3242, allocations: 63.98 kB / 0.5014 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/0.3249, allocations: 115.9 kB / 0.5016 GB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.3251, allocations: 217.2 kB / 0.5018 GB, free: 55.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.3252, allocations: 89.45 kB / 0.5018 GB, free: 55.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.3263, allocations: 1.294 MB / 0.5031 GB, free: 54.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3263, allocations: 0 / 0.5031 GB, free: 54.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00268/0.329, allocations: 1.459 MB / 0.5045 GB, free: 52.62 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.004042/0.333, allocations: 5.666 MB / 0.5101 GB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003489/0.3365, allocations: 3.491 MB / 0.5135 GB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.3365, allocations: 384 / 0.5135 GB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.3378, allocations: 1.6 MB / 0.515 GB, free: 41.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.3394, allocations: 0.5158 MB / 0.5155 GB, free: 41.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/0.3666, allocations: 28.99 MB / 0.5439 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/0.3696, allocations: 3.506 MB / 0.5473 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00171/0.3713, allocations: 1.195 MB / 0.5485 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.3729, allocations: 2.004 MB / 0.5504 GB, free: 3.523 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3729, allocations: 4 kB / 0.5504 GB, free: 3.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/0.5935, allocations: 68.65 MB / 0.6175 GB, free: 139.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/9.149, allocations: 3.875 kB / 0.6175 GB, free: 139.5 MB / 474.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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: 10.97032564226538]