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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 54.7 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004927/0.1151, allocations: 3.75 MB / 354.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1172, allocations: 0.9542 MB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000679/0.1179, allocations: 23.94 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.1185, allocations: 146.8 kB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1195, allocations: 274.5 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1199, allocations: 123.8 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1213, allocations: 1.389 MB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.1226, allocations: 1.178 MB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.1233, allocations: 0.627 MB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.1244, allocations: 0.755 MB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.1247, allocations: 156 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.125, allocations: 156 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.1254, allocations: 462.7 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.1261, allocations: 0.7272 MB / 361.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1276, allocations: 2.018 MB / 363.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1276, allocations: 0 / 363.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1276, allocations: 0 / 363.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.1276, allocations: 0 / 363.4 MB, free: 7.609 MB / 302.1 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.002588/0.1302, allocations: 1.668 MB / 365.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1303, allocations: 12.02 kB / 365.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.1305, allocations: 139.3 kB / 365.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.1316, allocations: 0.8422 MB / 366.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1317, allocations: 86.59 kB / 366.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.1318, allocations: 107.9 kB / 366.3 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.1341, allocations: 1.541 MB / 367.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1341, allocations: 3.938 kB / 367.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1342, allocations: 48 kB / 367.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.1343, allocations: 28 kB / 367.9 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.1362, allocations: 1.312 MB / 369.2 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.157/0.2932, allocations: 4.209 MB / 373.4 MB, free: 23.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2943, allocations: 1.317 MB / 374.7 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/0.295, allocations: 464.9 kB / 375.2 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.295, allocations: 7.516 kB / 375.2 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2951, allocations: 39.59 kB / 375.2 MB, free: 22.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/0.2951, allocations: 4.75 kB / 375.3 MB, free: 22.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003247/0.2983, allocations: 1.945 MB / 377.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2984, allocations: 55.97 kB / 377.3 MB, free: 21.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2995, allocations: 0.8139 MB / 378.1 MB, free: 21.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.2995, allocations: 36.91 kB / 378.1 MB, free: 20.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.2999, allocations: 0.542 MB / 378.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.3, allocations: 178.2 kB / 378.8 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.3002, allocations: 103.7 kB / 378.9 MB, free: 20.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3003, allocations: 389.2 kB / 379.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.3008, allocations: 309.3 kB / 379.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.3013, allocations: 403.3 kB / 380 MB, free: 19.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3024, allocations: 0.7012 MB / 380.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3024, allocations: 2.406 kB / 380.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001479/0.3039, allocations: 0.9175 MB / 381.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3039, allocations: 5.375 kB / 381.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3039, allocations: 3.594 kB / 381.6 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.3042, allocations: 114.9 kB / 381.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.3048, allocations: 121 kB / 381.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.3067, allocations: 2.366 MB / 384.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.3072, allocations: 30.69 kB / 384.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.3072, allocations: 19.3 kB / 384.3 MB, free: 17.07 MB / 302.1 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.0006557/0.3079, allocations: 463.9 kB / 384.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.308, allocations: 73.45 kB / 384.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3082, allocations: 89.34 kB / 384.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3082, allocations: 6.625 kB / 384.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.3082, allocations: 5.016 kB / 384.9 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3082, allocations: 6.391 kB / 384.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.3112, allocations: 2.015 MB / 386.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3112, allocations: 2.406 kB / 386.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.3116, allocations: 89.89 kB / 387 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.3118, allocations: 100.7 kB / 387.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.3119, allocations: 22.66 kB / 387.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.3136, allocations: 2.317 MB / 389.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3136, allocations: 2.062 kB / 389.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3151, allocations: 1.203 MB / 390.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.3153, allocations: 164 kB / 390.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.3154, allocations: 12.38 kB / 390.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.3158, allocations: 47.58 kB / 390.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.316, allocations: 42.19 kB / 390.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.316, allocations: 20.19 kB / 390.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007535/0.3168, allocations: 0.5921 MB / 391.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 0 / 391.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009051/0.3177, allocations: 209.5 kB / 391.7 MB, free: 12.6 MB / 302.1 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.0001641/0.3179, allocations: 124.2 kB / 391.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3193, allocations: 0.9382 MB / 392.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3193, allocations: 0 / 392.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006428/0.32, allocations: 491.8 kB / 393.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/0.3209, allocations: 176 kB / 393.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.3242, allocations: 2.237 MB / 395.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.3249, allocations: 1.304 MB / 397 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.3251, allocations: 58.31 kB / 397 MB, free: 9.258 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3251, allocations: 0 / 397 MB, free: 9.258 MB / 302.1 MB Notification: Performance of Templates: time 0.02011/0.3452, allocations: 18.74 MB / 415.8 MB, free: 7.426 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches