Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001224/0.001224, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001311/0.001311, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 18.57 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.04/1.04, allocations: 173.3 MB / 201.4 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.387e-05, allocations: 6.25 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003435/0.003449, allocations: 3.684 MB / 272.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.004795, allocations: 0.9501 MB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.004986, allocations: 27.81 kB / 273.1 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.005214, allocations: 162.8 kB / 273.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.005734, allocations: 298.1 kB / 273.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.005912, allocations: 135.7 kB / 273.6 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.00677, allocations: 1.439 MB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.007291, allocations: 0.6157 MB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.008114, allocations: 0.9317 MB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006297/0.008743, allocations: 0.7639 MB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.008871, allocations: 156 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.009029, allocations: 156 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.009294, allocations: 486.6 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.00964, allocations: 0.5184 MB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.01073, allocations: 1.235 MB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.01073, allocations: 4 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01073, allocations: 0 / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.01074, allocations: 0 / 279.9 MB, free: 10.58 MB / 266.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.001438/0.01217, allocations: 1.695 MB / 281.6 MB, free: 8.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.0122, allocations: 8.922 kB / 281.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.0124, allocations: 236 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.01299, allocations: 0.6853 MB / 282.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.01303, allocations: 82.59 kB / 282.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.01313, allocations: 112.4 kB / 282.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.01397, allocations: 0.9652 MB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01398, allocations: 0 / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.01404, allocations: 44 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01405, allocations: 28 kB / 283.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.01444, allocations: 291 kB / 284.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.01741, allocations: 3.078 MB / 287.1 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.01769, allocations: 320.2 kB / 287.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.01787, allocations: 173.6 kB / 287.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.01789, allocations: 8.5 kB / 287.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.01791, allocations: 41.89 kB / 287.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 1.533e-06/0.01791, allocations: 0 / 287.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009508/0.01886, allocations: 0.8387 MB / 288.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.01888, allocations: 55.91 kB / 288.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.01931, allocations: 0.6632 MB / 289.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.01934, allocations: 37.7 kB / 289.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.0196, allocations: 0.6235 MB / 289.9 MB, free: 224 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.0197, allocations: 202.4 kB / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1016/0.1213, allocations: 102.5 kB / 290.2 MB, free: 29.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1215, allocations: 0.5896 MB / 290.8 MB, free: 28.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1216, allocations: 54.84 kB / 290.8 MB, free: 28.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1217, allocations: 198.4 kB / 291 MB, free: 28.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.122, allocations: 297.7 kB / 291.3 MB, free: 28.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.122, allocations: 4.453 kB / 291.3 MB, free: 28.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005697/0.1225, allocations: 432.5 kB / 291.7 MB, free: 28.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1225, allocations: 10.56 kB / 291.7 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1225, allocations: 2.281 kB / 291.7 MB, free: 28.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.1227, allocations: 69.56 kB / 291.8 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.123, allocations: 117.8 kB / 291.9 MB, free: 28.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009332/0.1239, allocations: 2.295 MB / 294.2 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1241, allocations: 18.25 kB / 294.2 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1241, allocations: 14.61 kB / 294.3 MB, free: 26.53 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.0002062/0.1243, allocations: 184.2 kB / 294.4 MB, free: 26.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.1244, allocations: 95.67 kB / 294.5 MB, free: 26.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.1245, allocations: 79.91 kB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1245, allocations: 6.125 kB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1245, allocations: 8.344 kB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1245, allocations: 6.719 kB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.126, allocations: 1.429 MB / 296.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.126, allocations: 2.219 kB / 296.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.1262, allocations: 80.64 kB / 296.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.1263, allocations: 72.66 kB / 296.2 MB, free: 25.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.1264, allocations: 13.89 kB / 296.2 MB, free: 25.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000802/0.1272, allocations: 2.272 MB / 298.5 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1272, allocations: 6.75 kB / 298.5 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.1277, allocations: 0.6298 MB / 299.1 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.1277, allocations: 76.66 kB / 299.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.1278, allocations: 13.64 kB / 299.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1279, allocations: 28.98 kB / 299.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.128, allocations: 52.61 kB / 299.3 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.128, allocations: 13.44 kB / 299.3 MB, free: 23.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002755/0.1283, allocations: 399 kB / 299.7 MB, free: 23.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1283, allocations: 0 / 299.7 MB, free: 23.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004979/0.1288, allocations: 211.1 kB / 299.9 MB, free: 23.48 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 8.879e-05/0.1289, allocations: 111.7 kB / 300 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004523/0.1293, allocations: 488.8 kB / 300.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1293, allocations: 1.062 kB / 300.5 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.1296, allocations: 368.5 kB / 300.9 MB, free: 22.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.1301, allocations: 163.9 kB / 301 MB, free: 22.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1324, allocations: 1.879 MB / 302.9 MB, free: 22.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1328, allocations: 365.6 kB / 303.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.133, allocations: 83.55 kB / 303.3 MB, free: 21.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.1334, allocations: 241.5 kB / 303.6 MB, free: 21.87 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1334, allocations: 0 / 303.6 MB, free: 21.87 MB / 266.7 MB Notification: Performance of Templates: time 0.0151/0.1485, allocations: 11.01 MB / 314.6 MB, free: 15.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8343325909227133]