Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.0008373/0.0008373, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003326/0.003326, allocations: 160.8 kB / 24.7 MB, free: 9.441 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.8317/0.8317, allocations: 177 MB / 204.9 MB, free: 5.715 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.188e-05, allocations: 7.484 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003228/0.00325, allocations: 3.491 MB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004407, allocations: 0.9969 MB / 330.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.004578, allocations: 31.75 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.004818, allocations: 158.8 kB / 330.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.0054, allocations: 306.1 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.005573, allocations: 139.6 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000811/0.006384, allocations: 1.451 MB / 332.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.00689, allocations: 0.6197 MB / 332.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008683/0.007758, allocations: 0.9395 MB / 333.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007031/0.008461, allocations: 0.7092 MB / 334.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.008588, allocations: 156 kB / 334.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.008749, allocations: 160 kB / 334.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.008994, allocations: 490.5 kB / 335.4 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004841/0.009478, allocations: 0.5028 MB / 335.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.01064, allocations: 2.084 MB / 338 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01065, allocations: 0 / 338 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01065, allocations: 0 / 338 MB, free: 3.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.01066, allocations: 4 kB / 338 MB, free: 3.07 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.001604/0.01226, allocations: 1.622 MB / 339.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.0123, allocations: 11.98 kB / 339.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.01259, allocations: 180 kB / 339.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.01345, allocations: 0.8506 MB / 340.6 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.01349, allocations: 78.59 kB / 340.7 MB, free: 268 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.0136, allocations: 108.4 kB / 340.8 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.01534, allocations: 1.719 MB / 342.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.01535, allocations: 4 kB / 342.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.01542, allocations: 48 kB / 342.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.01546, allocations: 38.22 kB / 342.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.01672, allocations: 1.328 MB / 344 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.01992, allocations: 3.554 MB / 347.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.02047, allocations: 0.5967 MB / 348.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.02112, allocations: 412.2 kB / 348.5 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.02114, allocations: 8.375 kB / 348.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.02116, allocations: 38.92 kB / 348.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.02117, allocations: 4 kB / 348.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001836/0.023, allocations: 1.791 MB / 350.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.02304, allocations: 71.83 kB / 350.4 MB, free: 6.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.02364, allocations: 0.8046 MB / 351.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.02366, allocations: 37.64 kB / 351.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.0239, allocations: 0.5584 MB / 351.8 MB, free: 4.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/0.02398, allocations: 174.5 kB / 352 MB, free: 4.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.02408, allocations: 98.3 kB / 352.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.0242, allocations: 378.8 kB / 352.5 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.02448, allocations: 301.1 kB / 352.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.0248, allocations: 405 kB / 353.1 MB, free: 3.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.02537, allocations: 0.6851 MB / 353.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02538, allocations: 0 / 353.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007991/0.02617, allocations: 0.8956 MB / 354.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.02619, allocations: 8 kB / 354.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.0262, allocations: 4.344 kB / 354.7 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.02639, allocations: 112.8 kB / 354.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.02665, allocations: 123.7 kB / 355 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.0283, allocations: 2.211 MB / 357.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.02846, allocations: 28.06 kB / 357.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.02848, allocations: 23.94 kB / 357.2 MB, free: 15.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003762/0.02886, allocations: 453.5 kB / 357.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.02892, allocations: 79.52 kB / 357.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.179e-05/0.02899, allocations: 87.08 kB / 357.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.029, allocations: 4 kB / 357.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.029, allocations: 4.062 kB / 357.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.02901, allocations: 8.125 kB / 357.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.03052, allocations: 1.649 MB / 359.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03052, allocations: 3.938 kB / 359.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.03068, allocations: 75.89 kB / 359.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.03082, allocations: 104.8 kB / 359.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.03083, allocations: 16.06 kB / 359.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.03207, allocations: 2.176 MB / 361.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.03207, allocations: 0 / 361.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.0332, allocations: 1.151 MB / 363 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.03329, allocations: 87.53 kB / 363.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.03333, allocations: 15.98 kB / 363.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.0335, allocations: 48.02 kB / 363.2 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.03358, allocations: 39.92 kB / 363.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.0336, allocations: 12 kB / 363.2 MB, free: 9.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004201/0.03402, allocations: 0.5693 MB / 363.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03402, allocations: 0 / 363.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.03443, allocations: 208 kB / 364 MB, free: 8.297 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.03454, allocations: 115.2 kB / 364.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007693/0.03531, allocations: 0.7737 MB / 364.9 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03531, allocations: 4 kB / 364.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.0357, allocations: 459 kB / 365.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.03618, allocations: 158.9 kB / 365.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.03813, allocations: 2.151 MB / 367.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.03857, allocations: 0.7253 MB / 368.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.03868, allocations: 52.48 kB / 368.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of SimCode: time 4.9e-07/0.03868, allocations: 0 / 368.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of Templates: time 0.0134/0.05208, allocations: 19.25 MB / 387.7 MB, free: 0.5352 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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: 5.638459728099406]