Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 75.11 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 149.6 kB / 24.49 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 52.41 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08993, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005085/0.09502, allocations: 3.467 MB / 375 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.09687, allocations: 0.9581 MB / 376 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.09709, allocations: 27.81 kB / 376 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.09748, allocations: 158.8 kB / 376.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007874/0.09827, allocations: 306.4 kB / 376.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.0985, allocations: 123.8 kB / 376.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1, allocations: 1.42 MB / 378 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000867/0.1009, allocations: 0.6395 MB / 378.6 MB, free: 180 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.1016, allocations: 0.6581 MB / 379.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1028, allocations: 0.8017 MB / 380.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.103, allocations: 160 kB / 380.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1033, allocations: 160 kB / 380.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004597/0.1037, allocations: 466.7 kB / 380.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.1044, allocations: 0.6107 MB / 381.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.1064, allocations: 2.083 MB / 383.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1064, allocations: 0 / 383.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1064, allocations: 4 kB / 383.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.1065, allocations: 0 / 383.6 MB, free: 11.23 MB / 350.1 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.002964/0.1094, allocations: 1.654 MB / 385.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1095, allocations: 8.922 kB / 385.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.1097, allocations: 152 kB / 385.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1111, allocations: 0.8279 MB / 386.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.1112, allocations: 86.38 kB / 386.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.1113, allocations: 108 kB / 386.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.1138, allocations: 1.731 MB / 388.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1138, allocations: 0 / 388.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1139, allocations: 48 kB / 388.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.114, allocations: 28 kB / 388.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.1161, allocations: 1.328 MB / 389.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.1221, allocations: 3.726 MB / 393.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009379/0.1231, allocations: 0.6223 MB / 393.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.1239, allocations: 498.9 kB / 394.4 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.124, allocations: 4.5 kB / 394.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.124, allocations: 39.06 kB / 394.4 MB, free: 100 kB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.573e-06/0.124, allocations: 4 kB / 394.4 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00144/0.1254, allocations: 0.883 MB / 395.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1255, allocations: 55.91 kB / 395.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/0.1265, allocations: 0.793 MB / 396.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.1265, allocations: 37.7 kB / 396.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.1269, allocations: 0.5584 MB / 396.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.1271, allocations: 186.3 kB / 396.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1272, allocations: 114.3 kB / 397 MB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1274, allocations: 386.7 kB / 397.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.1279, allocations: 301.1 kB / 397.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.1284, allocations: 399.3 kB / 398.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1295, allocations: 0.6895 MB / 398.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1295, allocations: 0 / 398.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001233/0.1307, allocations: 0.821 MB / 399.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1307, allocations: 8 kB / 399.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1307, allocations: 0 / 399.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1307, allocations: 4 kB / 399.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.1313, allocations: 151.8 kB / 399.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1313, allocations: 11.98 kB / 399.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1317, allocations: 59.8 kB / 399.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.1317, allocations: 23.94 kB / 399.9 MB, free: 10.52 MB / 366.1 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.0005133/0.1322, allocations: 462.4 kB / 400.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1323, allocations: 75.53 kB / 400.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.1325, allocations: 86.83 kB / 400.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.1325, allocations: 4 kB / 400.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1325, allocations: 4 kB / 400.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.1325, allocations: 7.922 kB / 400.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.1351, allocations: 1.689 MB / 402.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1351, allocations: 4 kB / 402.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.1356, allocations: 116 kB / 402.3 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.1356, allocations: 8 kB / 402.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.1357, allocations: 15.98 kB / 402.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1357, allocations: 4 kB / 402.3 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1357, allocations: 0 / 402.3 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.1372, allocations: 1.124 MB / 403.4 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.1374, allocations: 103.4 kB / 403.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.1375, allocations: 16 kB / 403.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.1379, allocations: 47.95 kB / 403.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.138, allocations: 40.42 kB / 403.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.138, allocations: 19.94 kB / 403.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007498/0.1388, allocations: 0.5654 MB / 404.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1388, allocations: 0 / 404.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006531/0.1394, allocations: 283.1 kB / 404.5 MB, free: 5.781 MB / 366.1 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.0001675/0.1396, allocations: 127 kB / 404.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1407, allocations: 0.6307 MB / 405.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1407, allocations: 0 / 405.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.1412, allocations: 315.4 kB / 405.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.1421, allocations: 165.7 kB / 405.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.1457, allocations: 2.292 MB / 408 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/0.1465, allocations: 0.7484 MB / 408.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004635/0.147, allocations: 209.5 kB / 409 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.1472, allocations: 56.48 kB / 409 MB, free: 1.156 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1472, allocations: 0 / 409 MB, free: 1.156 MB / 366.1 MB Notification: Performance of Templates: time 0.0191/0.1663, allocations: 9.808 MB / 418.8 MB, free: 7.527 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.42602618096862]