Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001196/0.001196, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.001371/0.001371, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.9484/0.9484, allocations: 177 MB / 204.1 MB, free: 5.75 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.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.225e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004686/0.004718, allocations: 3.499 MB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.00743, allocations: 1.047 MB / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.007818, allocations: 27.81 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.008224, allocations: 162.8 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.009257, allocations: 329.9 kB / 329.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.009552, allocations: 127.8 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.01102, allocations: 1.478 MB / 331.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.01196, allocations: 0.6396 MB / 331.8 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.01337, allocations: 0.9551 MB / 332.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.01441, allocations: 0.7365 MB / 333.5 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.01459, allocations: 160 kB / 333.6 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.01485, allocations: 160 kB / 333.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.01523, allocations: 494.5 kB / 334.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.01576, allocations: 0.5223 MB / 334.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.0171, allocations: 2.119 MB / 336.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.01711, allocations: 0 / 336.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.01711, allocations: 0 / 336.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.01713, allocations: 0 / 336.9 MB, free: 3.391 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.002102/0.01923, allocations: 1.654 MB / 338.6 MB, free: 1.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.01928, allocations: 15.98 kB / 338.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.01945, allocations: 181.4 kB / 338.8 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.01981, allocations: 172 kB / 338.9 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.02085, allocations: 0.8584 MB / 339.8 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.0209, allocations: 82.62 kB / 339.9 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.02102, allocations: 112.4 kB / 340 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.02277, allocations: 1.743 MB / 341.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.02279, allocations: 0 / 341.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.02286, allocations: 48 kB / 341.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.02291, allocations: 46.23 kB / 341.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.02438, allocations: 1.336 MB / 343.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.02874, allocations: 3.901 MB / 347.1 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.02937, allocations: 0.6264 MB / 347.7 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.02994, allocations: 0.4907 MB / 348.2 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.02997, allocations: 8.5 kB / 348.2 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.03, allocations: 43.05 kB / 348.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.586e-06/0.03, allocations: 0 / 348.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009898/0.03099, allocations: 0.8712 MB / 349.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.03103, allocations: 63.91 kB / 349.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.03181, allocations: 0.8398 MB / 350 MB, free: 5.969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.03184, allocations: 41.7 kB / 350 MB, free: 5.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.03212, allocations: 0.5584 MB / 350.6 MB, free: 5.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.03222, allocations: 190.4 kB / 350.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.03234, allocations: 102.3 kB / 350.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.03248, allocations: 386.7 kB / 351.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.0328, allocations: 305.1 kB / 351.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.03315, allocations: 391.4 kB / 351.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.03383, allocations: 0.6895 MB / 352.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.03383, allocations: 0 / 352.6 MB, free: 3.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008286/0.03466, allocations: 0.8325 MB / 353.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.03468, allocations: 4 kB / 353.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03469, allocations: 4 kB / 353.5 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.03471, allocations: 7.984 kB / 353.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.03506, allocations: 148.1 kB / 353.6 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.03507, allocations: 7.984 kB / 353.6 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.03529, allocations: 63.55 kB / 353.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.03532, allocations: 20 kB / 353.7 MB, free: 2.156 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004696/0.03579, allocations: 461.4 kB / 354.2 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.03586, allocations: 75.53 kB / 354.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.03595, allocations: 99.06 kB / 354.3 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.03595, allocations: 4 kB / 354.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.03596, allocations: 0 / 354.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.03597, allocations: 7.938 kB / 354.3 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.03777, allocations: 1.837 MB / 356.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.03778, allocations: 8.031 kB / 356.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.03805, allocations: 115.9 kB / 356.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.03806, allocations: 4 kB / 356.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.03808, allocations: 12 kB / 356.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.03808, allocations: 7.984 kB / 356.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.03809, allocations: 4 kB / 356.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.03914, allocations: 1.128 MB / 357.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.03926, allocations: 91.5 kB / 357.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.03931, allocations: 15.98 kB / 357.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.03958, allocations: 47.95 kB / 357.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.03966, allocations: 44.36 kB / 357.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.03968, allocations: 16 kB / 357.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005445/0.04022, allocations: 0.6004 MB / 358.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.04023, allocations: 0 / 358.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005886/0.04081, allocations: 295 kB / 358.6 MB, free: 13.2 MB / 330.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.04212, allocations: 1.681 MB / 360.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006867/0.0428, allocations: 0.6347 MB / 360.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.04281, allocations: 0 / 360.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.04309, allocations: 310.6 kB / 361.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.04367, allocations: 191.7 kB / 361.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.05219, allocations: 8.566 MB / 369.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.05274, allocations: 0.7528 MB / 370.7 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.05313, allocations: 205.8 kB / 370.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.05349, allocations: 392.4 kB / 371.3 MB, free: 236 kB / 330.7 MB Notification: Performance of SimCode: time 2.204e-06/0.05349, allocations: 0 / 371.3 MB, free: 236 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.08882, allocations: 20.77 MB / 392 MB, free: 11.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.36, allocations: 4 kB / 392 MB, free: 11.69 MB / 362.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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: 9.222993670031428]