Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.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: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 226.6 MB / 244.3 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007606/0.0007605, allocations: 100.7 kB / 296.4 MB, free: 6.758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002477, allocations: 8 kB / 356.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 51.3 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00264/0.2126, allocations: 3.241 MB / 410.7 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2138, allocations: 0.9994 MB / 411.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.214, allocations: 23.88 kB / 411.8 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.2142, allocations: 112.1 kB / 411.9 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.2148, allocations: 272.8 kB / 412.1 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.215, allocations: 85.53 kB / 412.2 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008261/0.2158, allocations: 1.482 MB / 413.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.2165, allocations: 0.8324 MB / 414.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.2169, allocations: 494.1 kB / 415 MB, free: 20.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.2174, allocations: 0.6226 MB / 415.6 MB, free: 19.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.2175, allocations: 72 kB / 415.7 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2176, allocations: 72 kB / 415.8 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2178, allocations: 354.9 kB / 416.1 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.218, allocations: 273 kB / 416.4 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008433/0.2189, allocations: 1.649 MB / 418 MB, free: 17.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2189, allocations: 3.984 kB / 418 MB, free: 17.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2189, allocations: 4 kB / 418 MB, free: 17.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.2189, allocations: 0 / 418 MB, free: 17.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001903/0.2208, allocations: 1.496 MB / 419.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2208, allocations: 8.031 kB / 419.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.2212, allocations: 178.3 kB / 419.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.2222, allocations: 0.8298 MB / 420.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.2222, allocations: 86.19 kB / 420.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2224, allocations: 112 kB / 420.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.2243, allocations: 1.576 MB / 422.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2243, allocations: 0 / 422.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.2244, allocations: 44 kB / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.2244, allocations: 31.98 kB / 422.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.226, allocations: 1.336 MB / 423.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/0.2308, allocations: 4.357 MB / 428.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/0.2316, allocations: 1.336 MB / 429.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.2323, allocations: 0.5573 MB / 430 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2324, allocations: 12.42 kB / 430 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2324, allocations: 35 kB / 430 MB, free: 4.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 1.643e-06/0.2324, allocations: 4 kB / 430 MB, free: 4.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001117/0.2335, allocations: 0.8924 MB / 430.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2335, allocations: 59.84 kB / 431 MB, free: 3.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.2343, allocations: 0.8203 MB / 431.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.2343, allocations: 37.7 kB / 431.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2345, allocations: 0.5376 MB / 432.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.2346, allocations: 181.4 kB / 432.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.2346, allocations: 8 kB / 432.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.2347, allocations: 382.8 kB / 432.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.2351, allocations: 316.9 kB / 433.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.2355, allocations: 398.5 kB / 433.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.2359, allocations: 373.9 kB / 434 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2359, allocations: 0 / 434 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001054/0.237, allocations: 0.8222 MB / 434.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.237, allocations: 8 kB / 434.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.237, allocations: 0 / 434.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.237, allocations: 8 kB / 434.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.2376, allocations: 147.8 kB / 435 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2377, allocations: 8.031 kB / 435 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.238, allocations: 75.41 kB / 435.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.238, allocations: 19.95 kB / 435.1 MB, free: 15.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005405/0.2386, allocations: 461.4 kB / 435.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2387, allocations: 71.16 kB / 435.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.2388, allocations: 91.08 kB / 435.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2389, allocations: 4 kB / 435.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2389, allocations: 0 / 435.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2389, allocations: 7.984 kB / 435.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.2416, allocations: 1.97 MB / 437.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.2416, allocations: 4 kB / 437.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.2421, allocations: 131.7 kB / 437.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2421, allocations: 4 kB / 437.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2422, allocations: 8.156 kB / 437.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2422, allocations: 8 kB / 437.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2422, allocations: 3.984 kB / 437.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.2437, allocations: 1.141 MB / 439 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2438, allocations: 160.3 kB / 439.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.2439, allocations: 23.98 kB / 439.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.2443, allocations: 55.94 kB / 439.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.2444, allocations: 32.39 kB / 439.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2445, allocations: 23.98 kB / 439.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00067/0.2451, allocations: 0.581 MB / 439.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2451, allocations: 0 / 439.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006086/0.2458, allocations: 290.7 kB / 440.1 MB, free: 10.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001482/0.2459, allocations: 115.1 kB / 440.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009333/0.2468, allocations: 0.6536 MB / 440.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2469, allocations: 0 / 440.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.2473, allocations: 331.1 kB / 441.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.2482, allocations: 177.5 kB / 441.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.2516, allocations: 2.734 MB / 444.1 MB, free: 6.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008653/0.2525, allocations: 1.309 MB / 445.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.2526, allocations: 59.42 kB / 445.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2527, allocations: 4 kB / 445.5 MB, free: 4.941 MB / 314.7 MB Notification: Performance of Templates: time 0.01869/0.2714, allocations: 13.17 MB / 458.7 MB, free: 7.828 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches