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.000979/0.000979, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001057/0.001057, allocations: 165.1 kB / 24.91 MB, free: 8.715 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.9427/0.9427, allocations: 177 MB / 205.2 MB, free: 5.062 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.841e-05, allocations: 5.266 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004635/0.004653, allocations: 3.729 MB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.006603, allocations: 1.047 MB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.006855, allocations: 31.75 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.007195, allocations: 158.8 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008287/0.008023, allocations: 310 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.008301, allocations: 143.7 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.009685, allocations: 1.462 MB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008121/0.0105, allocations: 0.647 MB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.01164, allocations: 0.9395 MB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.01267, allocations: 0.7678 MB / 282.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.01291, allocations: 160 kB / 282.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.01317, allocations: 160 kB / 282.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.01356, allocations: 494.6 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005971/0.01415, allocations: 0.5145 MB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.01541, allocations: 1.238 MB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01541, allocations: 0 / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01541, allocations: 0 / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.01543, allocations: 0 / 285.1 MB, free: 5.234 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002155/0.01759, allocations: 1.508 MB / 286.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.01762, allocations: 15.98 kB / 286.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.0181, allocations: 204.8 kB / 286.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.01903, allocations: 0.5512 MB / 287.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.0191, allocations: 82.59 kB / 287.5 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.01926, allocations: 112.4 kB / 287.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.02061, allocations: 0.9844 MB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.02063, allocations: 4 kB / 288.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.02074, allocations: 44 kB / 288.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/0.0208, allocations: 46.2 kB / 288.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006269/0.02142, allocations: 251.3 kB / 288.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09739/0.1188, allocations: 2.417 MB / 291.3 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1191, allocations: 277.5 kB / 291.6 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1193, allocations: 138.4 kB / 291.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1193, allocations: 9.5 kB / 291.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1194, allocations: 39.25 kB / 291.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.345e-06/0.1194, allocations: 0 / 291.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001179/0.1205, allocations: 0.6975 MB / 292.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.1206, allocations: 63.94 kB / 292.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.121, allocations: 0.5168 MB / 293.1 MB, free: 23.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.121, allocations: 36.14 kB / 293.1 MB, free: 23.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1212, allocations: 491.4 kB / 293.6 MB, free: 23.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.1213, allocations: 168.1 kB / 293.8 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.1214, allocations: 93.36 kB / 293.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.1214, allocations: 387.9 kB / 294.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.1215, allocations: 46.64 kB / 294.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1216, allocations: 151.1 kB / 294.4 MB, free: 23.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1218, allocations: 245.7 kB / 294.7 MB, free: 22.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1219, allocations: 1.281 kB / 294.7 MB, free: 22.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004141/0.1223, allocations: 325.8 kB / 295 MB, free: 22.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1223, allocations: 5.656 kB / 295 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1223, allocations: 4.719 kB / 295 MB, free: 22.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.1225, allocations: 62.45 kB / 295 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1227, allocations: 114.2 kB / 295.2 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008787/0.1236, allocations: 1.608 MB / 296.8 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1238, allocations: 15.53 kB / 296.8 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1238, allocations: 25.91 kB / 296.8 MB, free: 21.62 MB / 266.7 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.0001457/0.1239, allocations: 138.5 kB / 296.9 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.124, allocations: 60.7 kB / 297 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.1241, allocations: 77.58 kB / 297.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1241, allocations: 8.656 kB / 297.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1241, allocations: 5 kB / 297.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1241, allocations: 4.047 kB / 297.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1252, allocations: 0.9593 MB / 298.1 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1252, allocations: 1.062 kB / 298.1 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.1253, allocations: 82.02 kB / 298.1 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.1255, allocations: 58.67 kB / 298.2 MB, free: 21.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1255, allocations: 13.25 kB / 298.2 MB, free: 21.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007956/0.1263, allocations: 1.693 MB / 299.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1263, allocations: 0 / 299.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1267, allocations: 471.9 kB / 300.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.1268, allocations: 73.23 kB / 300.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.1268, allocations: 17.81 kB / 300.4 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.127, allocations: 30.89 kB / 300.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.127, allocations: 33.3 kB / 300.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.127, allocations: 11.33 kB / 300.5 MB, free: 19.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1273, allocations: 258.4 kB / 300.8 MB, free: 19.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1273, allocations: 0 / 300.8 MB, free: 19.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004312/0.1277, allocations: 211.2 kB / 301 MB, free: 19.6 MB / 266.7 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 9.453e-05/0.1278, allocations: 90.31 kB / 301.1 MB, free: 19.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.1282, allocations: 386.2 kB / 301.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.1282, allocations: 8.016 kB / 301.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.1285, allocations: 290.6 kB / 301.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1289, allocations: 165.3 kB / 301.9 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1308, allocations: 1.815 MB / 303.7 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.131, allocations: 301.7 kB / 304 MB, free: 18.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.1312, allocations: 79.75 kB / 304.1 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.1315, allocations: 205.8 kB / 304.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1315, allocations: 0 / 304.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01116/0.1427, allocations: 10.77 MB / 315.1 MB, free: 10.63 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.711663396563381]