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.001019/0.001019, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001207/0.001207, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.042/1.042, allocations: 177 MB / 204.8 MB, free: 5.562 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: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.524e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005233/0.005259, allocations: 3.794 MB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.007042, allocations: 1.067 MB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.007258, allocations: 31.75 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.007517, allocations: 154.8 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.008243, allocations: 337.9 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.008466, allocations: 135.8 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.009511, allocations: 1.478 MB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.01013, allocations: 0.6434 MB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009397/0.01107, allocations: 0.9707 MB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009847/0.01206, allocations: 0.7873 MB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.01226, allocations: 156 kB / 282.4 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.01247, allocations: 167.9 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.01276, allocations: 498.6 kB / 283.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.01325, allocations: 0.53 MB / 283.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.01435, allocations: 1.262 MB / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01435, allocations: 0 / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01436, allocations: 0 / 284.9 MB, free: 5.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.624e-05/0.01439, allocations: 4 kB / 284.9 MB, free: 5.371 MB / 266.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.002035/0.01643, allocations: 1.801 MB / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01646, allocations: 15.98 kB / 286.7 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.01684, allocations: 264 kB / 287 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008647/0.01771, allocations: 0.7752 MB / 287.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.01776, allocations: 82.62 kB / 287.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.01787, allocations: 112.4 kB / 287.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.01903, allocations: 1.048 MB / 289 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01904, allocations: 0 / 289 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.01911, allocations: 48 kB / 289 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/0.01916, allocations: 46.23 kB / 289.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.01987, allocations: 389.2 kB / 289.5 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1208/0.1407, allocations: 3.462 MB / 292.9 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.1412, allocations: 376.7 kB / 293.3 MB, free: 24.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.1416, allocations: 260.8 kB / 293.5 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.1417, allocations: 10.38 kB / 293.5 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1417, allocations: 41.64 kB / 293.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.1417, allocations: 0.5312 kB / 293.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0006876/0.1424, allocations: 403.7 kB / 294 MB, free: 23.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.1424, allocations: 57.47 kB / 294 MB, free: 23.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.1431, allocations: 0.698 MB / 294.7 MB, free: 23.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1431, allocations: 38.83 kB / 294.8 MB, free: 23.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.1434, allocations: 0.6279 MB / 295.4 MB, free: 23.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/0.1435, allocations: 195.2 kB / 295.6 MB, free: 23.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1437, allocations: 111.2 kB / 295.7 MB, free: 23.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1438, allocations: 0.5853 MB / 296.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1439, allocations: 72.95 kB / 296.4 MB, free: 22.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.1441, allocations: 208.8 kB / 296.6 MB, free: 22.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.1445, allocations: 314 kB / 296.9 MB, free: 22.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1445, allocations: 5.859 kB / 296.9 MB, free: 22.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005465/0.145, allocations: 423.5 kB / 297.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1451, allocations: 8.312 kB / 297.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1451, allocations: 3 kB / 297.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1451, allocations: 6.5 kB / 297.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.1454, allocations: 149 kB / 297.4 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1455, allocations: 5.469 kB / 297.5 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1457, allocations: 59.19 kB / 297.5 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.1457, allocations: 18.92 kB / 297.5 MB, free: 22.13 MB / 266.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.0001551/0.1459, allocations: 189.1 kB / 297.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.1459, allocations: 92.69 kB / 297.8 MB, free: 21.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.146, allocations: 86 kB / 297.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.146, allocations: 5.656 kB / 297.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.146, allocations: 0 / 297.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.146, allocations: 3.891 kB / 297.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.1477, allocations: 1.419 MB / 299.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1477, allocations: 9.688 kB / 299.3 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.148, allocations: 120.9 kB / 299.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.148, allocations: 3.438 kB / 299.5 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.148, allocations: 14.2 kB / 299.5 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.148, allocations: 3.188 kB / 299.5 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.148, allocations: 2.078 kB / 299.5 MB, free: 21.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.1487, allocations: 0.6268 MB / 300.1 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1488, allocations: 96.25 kB / 300.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.1489, allocations: 14.12 kB / 300.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.1491, allocations: 48.38 kB / 300.3 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.1491, allocations: 40.81 kB / 300.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1492, allocations: 16.86 kB / 300.3 MB, free: 20.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003915/0.1496, allocations: 438.3 kB / 300.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1496, allocations: 0 / 300.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006063/0.1502, allocations: 296 kB / 301 MB, free: 20.37 MB / 266.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.0001129/0.1503, allocations: 117.7 kB / 301.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.1507, allocations: 287.5 kB / 301.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1507, allocations: 0 / 301.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.1509, allocations: 153.6 kB / 301.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.1514, allocations: 174.8 kB / 301.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.1543, allocations: 1.964 MB / 303.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.1546, allocations: 364.6 kB / 304.1 MB, free: 18.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.1549, allocations: 161.1 kB / 304.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.155, allocations: 53.2 kB / 304.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.155, allocations: 0 / 304.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of Templates: time 0.01125/0.1663, allocations: 9.77 MB / 314 MB, free: 11.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0551489470526576]