Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007263/0.0007263, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009923/0.001719, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000683/0.000683, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008681/0.001551, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.073/1.073, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09471/1.168, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.538e-05, allocations: 5.969 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004111/0.004136, allocations: 3.777 MB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.005338, allocations: 1.059 MB / 249.5 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.005511, allocations: 31.81 kB / 249.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.005724, allocations: 158.8 kB / 249.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.006218, allocations: 290.1 kB / 250 MB, free: 8.883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.006404, allocations: 155.7 kB / 250.2 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008961/0.0073, allocations: 1.459 MB / 251.6 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.007843, allocations: 0.6431 MB / 252.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007571/0.008601, allocations: 1.016 MB / 253.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.009219, allocations: 0.76 MB / 254 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.009356, allocations: 156 kB / 254.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.009583, allocations: 156 kB / 254.3 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.009828, allocations: 387 kB / 254.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.01014, allocations: 427.2 kB / 255.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.01097, allocations: 1.168 MB / 256.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.01099, allocations: 0 / 256.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01099, allocations: 0 / 256.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.011, allocations: 0 / 256.3 MB, free: 2.523 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001586/0.01259, allocations: 1.765 MB / 258.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.01263, allocations: 8.031 kB / 258.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.013, allocations: 289.9 kB / 258.4 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.01363, allocations: 0.5435 MB / 258.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.01367, allocations: 82.59 kB / 259 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.01377, allocations: 108.4 kB / 259.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.01457, allocations: 0.9265 MB / 260 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.01459, allocations: 0 / 260 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.01465, allocations: 44 kB / 260.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.01467, allocations: 31.98 kB / 260.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.01501, allocations: 251.1 kB / 260.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.01744, allocations: 2.456 MB / 262.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.01772, allocations: 292.4 kB / 263.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.01789, allocations: 147.5 kB / 263.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.01791, allocations: 16.44 kB / 263.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.01793, allocations: 39.06 kB / 263.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/0.01793, allocations: 0 / 263.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009816/0.01891, allocations: 0.7471 MB / 264 MB, free: 10.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.01894, allocations: 63.89 kB / 264.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.01928, allocations: 0.5234 MB / 264.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.0193, allocations: 37.7 kB / 264.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.01949, allocations: 484.9 kB / 265.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.01957, allocations: 190.4 kB / 265.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.01967, allocations: 98.25 kB / 265.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01977, allocations: 382.6 kB / 265.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.01984, allocations: 53.28 kB / 265.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01996, allocations: 144.4 kB / 266 MB, free: 8.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.02018, allocations: 270 kB / 266.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.02019, allocations: 0 / 266.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003774/0.02056, allocations: 335 kB / 266.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.02058, allocations: 4 kB / 266.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.02058, allocations: 7.938 kB / 266.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.02073, allocations: 49.05 kB / 266.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.02107, allocations: 151.8 kB / 266.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009972/0.02206, allocations: 1.623 MB / 268.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.02219, allocations: 12 kB / 268.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.02221, allocations: 16 kB / 268.4 MB, free: 5.852 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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.0001548/0.02237, allocations: 152.6 kB / 268.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.02244, allocations: 67.84 kB / 268.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.02251, allocations: 83.08 kB / 268.7 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02252, allocations: 4 kB / 268.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.02252, allocations: 0 / 268.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02252, allocations: 7.984 kB / 268.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.02362, allocations: 1.139 MB / 269.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02362, allocations: 0 / 269.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.02385, allocations: 115.8 kB / 270 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.02392, allocations: 63.52 kB / 270 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.02404, allocations: 67.75 kB / 270.1 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.02406, allocations: 15.98 kB / 270.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009164/0.02498, allocations: 1.686 MB / 271.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.02498, allocations: 11.97 kB / 271.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.02544, allocations: 0.5036 MB / 272.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.02548, allocations: 12 kB / 272.3 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.02564, allocations: 35.92 kB / 272.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.0257, allocations: 44.36 kB / 272.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.02572, allocations: 8 kB / 272.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.0259, allocations: 260.6 kB / 272.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0259, allocations: 0 / 272.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.02627, allocations: 208 kB / 272.9 MB, free: 1.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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.0001121/0.02639, allocations: 99.17 kB / 273 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004571/0.02684, allocations: 407.3 kB / 273.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.02686, allocations: 12 kB / 273.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.02714, allocations: 335.9 kB / 273.7 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/0.02804, allocations: 1.69 MB / 275.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.03364, allocations: 2.038 MB / 277.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.03386, allocations: 321.6 kB / 277.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.03402, allocations: 81.92 kB / 277.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.03434, allocations: 213.2 kB / 278 MB, free: 11.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03434, allocations: 0 / 278 MB, free: 11.57 MB / 282.7 MB Notification: Performance of Templates: time 0.1636/0.1979, allocations: 11.9 MB / 289.9 MB, free: 37.53 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.839223069138825]