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.001586/0.001586, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.002175/0.002175, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001879/0.001879, allocations: 63.89 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 53.32 MB / 427.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005423/0.1108, allocations: 3.813 MB / 431.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2233/0.3341, allocations: 1.028 MB / 432.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.3345, allocations: 22.03 kB / 432.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.3349, allocations: 160.2 kB / 432.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.3357, allocations: 289.6 kB / 433.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.336, allocations: 134.9 kB / 433.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3371, allocations: 1.411 MB / 434.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/0.3381, allocations: 0.8852 MB / 435.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.3388, allocations: 0.6366 MB / 436.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.3397, allocations: 0.7746 MB / 437 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.3399, allocations: 156.4 kB / 437.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.3402, allocations: 159.6 kB / 437.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.3405, allocations: 466 kB / 437.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007366/0.3413, allocations: 0.7378 MB / 438.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.3434, allocations: 2.058 MB / 440.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3435, allocations: 1.156 kB / 440.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3435, allocations: 5.406 kB / 440.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.074e-05/0.3435, allocations: 0 / 440.5 MB, free: 6.098 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003105/0.3466, allocations: 1.703 MB / 442.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3466, allocations: 13.84 kB / 442.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000515/0.3472, allocations: 177.2 kB / 442.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.3487, allocations: 0.901 MB / 443.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.3488, allocations: 82.81 kB / 443.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.349, allocations: 112 kB / 443.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3514, allocations: 1.556 MB / 445.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.3515, allocations: 1.094 kB / 445.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3516, allocations: 46.28 kB / 445.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.3516, allocations: 48.03 kB / 445.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.3537, allocations: 1.319 MB / 446.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006311/0.36, allocations: 4.169 MB / 450.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008738/0.3609, allocations: 1.263 MB / 451.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/0.3617, allocations: 431.8 kB / 452.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3617, allocations: 4.938 kB / 452.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.3617, allocations: 42.22 kB / 452.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.384e-06/0.3617, allocations: 0 / 452.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003429/0.3652, allocations: 1.882 MB / 454.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3652, allocations: 61.28 kB / 454.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3663, allocations: 0.8252 MB / 455.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.3664, allocations: 33.36 kB / 455.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.3669, allocations: 0.5705 MB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3671, allocations: 171.1 kB / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3672, allocations: 94.98 kB / 456 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.3674, allocations: 387.9 kB / 456.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.3679, allocations: 300.2 kB / 456.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.3685, allocations: 395.9 kB / 457.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.3695, allocations: 0.6916 MB / 457.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3696, allocations: 1.406 kB / 457.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001583/0.3711, allocations: 0.8993 MB / 458.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3712, allocations: 9.5 kB / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3712, allocations: 3.594 kB / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.3715, allocations: 113.6 kB / 458.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.372, allocations: 109.7 kB / 458.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.3746, allocations: 2.365 MB / 461.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.3751, allocations: 28.31 kB / 461.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.3752, allocations: 22.09 kB / 461.3 MB, free: 9.66 MB / 366.1 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.0007902/0.376, allocations: 457.4 kB / 461.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3761, allocations: 80.69 kB / 461.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.3763, allocations: 88.89 kB / 461.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3763, allocations: 5.375 kB / 461.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.3763, allocations: 1.312 kB / 461.9 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3763, allocations: 3.984 kB / 461.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.3801, allocations: 1.915 MB / 463.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3801, allocations: 0 / 463.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.3805, allocations: 82.45 kB / 463.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.3808, allocations: 103.2 kB / 464 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.3808, allocations: 19.61 kB / 464 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.3834, allocations: 2.321 MB / 466.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3834, allocations: 5.094 kB / 466.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.3853, allocations: 1.151 MB / 467.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.3857, allocations: 165.2 kB / 467.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.3858, allocations: 10.22 kB / 467.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.3862, allocations: 46.11 kB / 467.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3864, allocations: 39.67 kB / 467.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3864, allocations: 17.89 kB / 467.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000957/0.3873, allocations: 0.5889 MB / 468.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3873, allocations: 0 / 468.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009088/0.3883, allocations: 208.8 kB / 468.6 MB, free: 4.629 MB / 366.1 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.0001776/0.3884, allocations: 116 kB / 468.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3898, allocations: 0.7785 MB / 469.5 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3899, allocations: 5.219 kB / 469.5 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.3906, allocations: 455.2 kB / 469.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.3914, allocations: 180.2 kB / 470.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.3956, allocations: 2.198 MB / 472.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.3968, allocations: 1.318 MB / 473.6 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.397, allocations: 55.42 kB / 473.7 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.397, allocations: 0 / 473.7 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of Templates: time 0.02882/0.4258, allocations: 18.98 MB / 492.7 MB, free: 14.06 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.007979493006133]