Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 226.5 MB / 244.7 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00073/0.0007299, allocations: 97.95 kB / 296.7 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002117, allocations: 8 kB / 356.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1881, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005519/0.1937, allocations: 7.875 MB / 416 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.1973, allocations: 2.401 MB / 418.4 MB, free: 17.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.198, allocations: 63.81 kB / 418.5 MB, free: 17.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006938/0.1987, allocations: 373.3 kB / 418.8 MB, free: 16.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.2001, allocations: 0.6127 MB / 419.4 MB, free: 16.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2013, allocations: 0.7401 MB / 420.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.2036, allocations: 3.322 MB / 423.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.214, allocations: 9.662 MB / 433.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.2157, allocations: 1.441 MB / 434.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.2174, allocations: 1.677 MB / 436.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003845/0.2178, allocations: 248 kB / 436.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.2189, allocations: 459.8 kB / 437 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005267/0.2195, allocations: 0.6539 MB / 437.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.2212, allocations: 1.732 MB / 439.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.2269, allocations: 6.647 MB / 446 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.227, allocations: 0 / 446 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.227, allocations: 0 / 446 MB, free: 5.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001588/0.2272, allocations: 0 / 446 MB, free: 5.629 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.009736/0.2369, allocations: 4.013 MB / 450 MB, free: 1.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.237, allocations: 8.031 kB / 450 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.2383, allocations: 0.5923 MB / 450.6 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007438/0.2458, allocations: 1.288 MB / 451.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.2502, allocations: 2.252 MB / 454.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.2505, allocations: 312.4 kB / 454.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007467/0.2513, allocations: 407.9 kB / 454.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009775/0.261, allocations: 5.449 MB / 460.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-05/0.2611, allocations: 8 kB / 460.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.2615, allocations: 168 kB / 460.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.2617, allocations: 184.5 kB / 460.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008156/0.2698, allocations: 4.784 MB / 465.5 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.2946, allocations: 19.61 MB / 485.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.2988, allocations: 3.918 MB / 489 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.3, allocations: 0.8277 MB / 489.8 MB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.3002, allocations: 199.2 kB / 490 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3003, allocations: 47.55 kB / 490 MB, free: 8.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 3.056e-06/0.3003, allocations: 0 / 490 MB, free: 8.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.002264/0.3025, allocations: 1.662 MB / 491.7 MB, free: 6.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3026, allocations: 64.41 kB / 491.8 MB, free: 6.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.3043, allocations: 1.322 MB / 493.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.3043, allocations: 45.7 kB / 493.1 MB, free: 5.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.3052, allocations: 1.757 MB / 494.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.3055, allocations: 378.7 kB / 495.3 MB, free: 2.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.3056, allocations: 44 kB / 495.3 MB, free: 2.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3058, allocations: 447.1 kB / 495.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3069, allocations: 0.8591 MB / 496.6 MB, free: 1.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.3085, allocations: 1.855 MB / 498.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.3113, allocations: 2.861 MB / 0.4896 GB, free: 11.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.3113, allocations: 15.94 kB / 0.4896 GB, free: 11.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003626/0.315, allocations: 2.789 MB / 0.4923 GB, free: 9.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.315, allocations: 24.03 kB / 0.4923 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/0.3151, allocations: 36 kB / 0.4924 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.156e-05/0.3151, allocations: 48 kB / 0.4924 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.3167, allocations: 0.5186 MB / 0.4929 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.345e-05/0.3168, allocations: 71.72 kB / 0.493 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.318, allocations: 289.2 kB / 0.4933 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.3181, allocations: 120 kB / 0.4934 GB, free: 7.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001977/0.3201, allocations: 1.484 MB / 0.4948 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.3203, allocations: 126.4 kB / 0.4949 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.3224, allocations: 1.54 MB / 0.4965 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001362/0.3238, allocations: 1.108 MB / 0.4975 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3238, allocations: 0 / 0.4975 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3238, allocations: 3.984 kB / 0.4975 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1747/0.4985, allocations: 13.83 MB / 0.511 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/0.4986, allocations: 25.48 kB / 0.5111 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/0.4993, allocations: 227.6 kB / 0.5113 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/0.4994, allocations: 29.34 kB / 0.5113 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.458e-05/0.4994, allocations: 50.25 kB / 0.5114 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-05/0.4995, allocations: 46.33 kB / 0.5114 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/0.4995, allocations: 33.75 kB / 0.5114 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.502, allocations: 2.78 MB / 0.5141 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.5025, allocations: 346.1 kB / 0.5145 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.5026, allocations: 51.56 kB / 0.5145 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.5033, allocations: 66.47 kB / 0.5146 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.5035, allocations: 152.3 kB / 0.5147 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.5036, allocations: 62.73 kB / 0.5148 GB, free: 81.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009884/0.5046, allocations: 0.8945 MB / 0.5157 GB, free: 80.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5046, allocations: 0 / 0.5157 GB, free: 80.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00208/0.5067, allocations: 0.8636 MB / 0.5165 GB, free: 80.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002772/0.5095, allocations: 3.425 MB / 0.5199 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.5118, allocations: 1.95 MB / 0.5218 GB, free: 76.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.5118, allocations: 4 kB / 0.5218 GB, free: 76.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007318/0.5126, allocations: 0.6734 MB / 0.5224 GB, free: 76.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004446/0.517, allocations: 344.6 kB / 0.5228 GB, free: 75.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.5336, allocations: 14.67 MB / 0.5371 GB, free: 60.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.5355, allocations: 2.739 MB / 0.5398 GB, free: 57.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.5366, allocations: 1.163 MB / 0.5409 GB, free: 56.09 MB / 378.7 MB Notification: Performance of SimCode: time 6.02e-07/0.5366, allocations: 0 / 0.5409 GB, free: 56.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.725/4.261, allocations: 48.51 MB / 0.5883 GB, free: 7.566 MB / 378.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches