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.0007755/0.0007755, allocations: 88.28 kB / 21.44 MB, free: 3.125 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.003826/0.003826, allocations: 150.3 kB / 24.69 MB, free: 8.891 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.8364/0.8364, allocations: 177 MB / 204.9 MB, free: 5.785 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.1..i|transformerL.inductor.2..i|transformerL.inductor.3..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.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.859e-05, allocations: 3.969 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.002989/0.003008, allocations: 3.495 MB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004177, allocations: 1.047 MB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.004361, allocations: 35.75 kB / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.004607, allocations: 158.8 kB / 330.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.005211, allocations: 322 kB / 330.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.00539, allocations: 139.8 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008336/0.006224, allocations: 1.47 MB / 332.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/0.007012, allocations: 0.6434 MB / 333.1 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.00766, allocations: 0.9628 MB / 334 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.008234, allocations: 0.7287 MB / 334.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.008346, allocations: 160 kB / 334.9 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.0085, allocations: 160 kB / 335.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.008744, allocations: 494.6 kB / 335.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.009058, allocations: 0.5222 MB / 336.1 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.0102, allocations: 2.123 MB / 338.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.0102, allocations: 0 / 338.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0102, allocations: 0 / 338.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.01021, allocations: 0 / 338.2 MB, free: 2.895 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.001606/0.01182, allocations: 1.646 MB / 339.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01185, allocations: 11.98 kB / 339.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.01212, allocations: 180 kB / 340 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.01319, allocations: 0.87 MB / 340.9 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.01323, allocations: 82.62 kB / 341 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.01334, allocations: 108.4 kB / 341.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.0148, allocations: 1.75 MB / 342.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.01482, allocations: 0 / 342.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.01488, allocations: 44 kB / 342.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.01492, allocations: 42.25 kB / 342.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.01618, allocations: 1.344 MB / 344.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.01976, allocations: 3.73 MB / 348 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.02031, allocations: 0.6069 MB / 348.6 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.02082, allocations: 0.5024 MB / 349.1 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.02084, allocations: 4.5 kB / 349.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.02086, allocations: 39.06 kB / 349.1 MB, free: 7.652 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 1.553e-06/0.02086, allocations: 0 / 349.1 MB, free: 7.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0008501/0.02171, allocations: 0.8868 MB / 350 MB, free: 6.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.02174, allocations: 59.91 kB / 350.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.02233, allocations: 0.8047 MB / 350.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.02236, allocations: 37.7 kB / 350.9 MB, free: 5.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.02259, allocations: 0.5662 MB / 351.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.02267, allocations: 182.5 kB / 351.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.02277, allocations: 98.34 kB / 351.8 MB, free: 4.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.02288, allocations: 390.7 kB / 352.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.02315, allocations: 301.1 kB / 352.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.02346, allocations: 399.3 kB / 352.8 MB, free: 3.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.02404, allocations: 0.6895 MB / 353.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02404, allocations: 0 / 353.5 MB, free: 3.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009508/0.02499, allocations: 0.8131 MB / 354.3 MB, free: 2.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.02501, allocations: 11.94 kB / 354.3 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.02501, allocations: 12.2 kB / 354.4 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.02503, allocations: 8 kB / 354.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.02533, allocations: 143.8 kB / 354.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.02534, allocations: 11.98 kB / 354.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.0255, allocations: 63.61 kB / 354.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.02552, allocations: 16 kB / 354.6 MB, free: 2.066 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.0003256/0.02584, allocations: 469.6 kB / 355.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.02591, allocations: 75.53 kB / 355.1 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.168e-05/0.02599, allocations: 99.06 kB / 355.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02599, allocations: 4 kB / 355.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.026, allocations: 0 / 355.2 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.026, allocations: 3.938 kB / 355.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.02749, allocations: 1.693 MB / 356.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02749, allocations: 0 / 356.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.02773, allocations: 111.8 kB / 357 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.02773, allocations: 7.984 kB / 357 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.02775, allocations: 12 kB / 357.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.02775, allocations: 4 kB / 357.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02776, allocations: 4 kB / 357.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.02865, allocations: 1.128 MB / 358.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.02874, allocations: 95.42 kB / 358.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.02879, allocations: 16 kB / 358.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.02896, allocations: 47.95 kB / 358.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.02903, allocations: 40.42 kB / 358.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.02904, allocations: 16 kB / 358.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004263/0.02947, allocations: 0.5771 MB / 359 MB, free: 13.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02947, allocations: 0 / 359 MB, free: 13.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.02982, allocations: 299 kB / 359.3 MB, free: 13.3 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.0001001/0.02992, allocations: 115.1 kB / 359.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005975/0.03051, allocations: 0.6346 MB / 360 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.03052, allocations: 0 / 360 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.03078, allocations: 310.6 kB / 360.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.03125, allocations: 171.7 kB / 360.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.03339, allocations: 2.238 MB / 362.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.03383, allocations: 0.7332 MB / 363.5 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.03395, allocations: 60.44 kB / 363.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03395, allocations: 0 / 363.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of Templates: time 0.009884/0.04383, allocations: 13.83 MB / 377.4 MB, free: 11.16 MB / 346.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] 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: 5.314389495179057]