Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00294/0.002947, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.849/3.849, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 94.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006068, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2162, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.007785/0.224, allocations: 3.012 MB / 377.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003953/0.2281, allocations: 0.9908 MB / 378.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.2289, allocations: 11.94 kB / 378.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.2295, allocations: 127.3 kB / 378.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.2311, allocations: 215.3 kB / 378.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.2318, allocations: 87.91 kB / 379 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.2345, allocations: 0.8692 MB / 379.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.2369, allocations: 0.742 MB / 380.6 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2385, allocations: 442.4 kB / 381 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.2405, allocations: 0.5291 MB / 381.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.2409, allocations: 76 kB / 381.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.2415, allocations: 72 kB / 381.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007674/0.2423, allocations: 339 kB / 382 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.243, allocations: 273 kB / 382.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.2469, allocations: 1.613 MB / 383.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.247, allocations: 4 kB / 383.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.247, allocations: 4 kB / 383.9 MB, free: 6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.395e-05/0.2471, allocations: 0 / 383.9 MB, free: 6 MB / 282.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.006984/0.2541, allocations: 1.45 MB / 385.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.662e-05/0.2542, allocations: 12.03 kB / 385.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/0.2552, allocations: 138.3 kB / 385.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.2587, allocations: 0.787 MB / 386.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.2589, allocations: 82.22 kB / 386.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000505/0.2594, allocations: 111.9 kB / 386.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007301/0.2667, allocations: 1.521 MB / 388 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.2669, allocations: 4 kB / 388 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.2672, allocations: 44 kB / 388 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.2673, allocations: 28 kB / 388.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006736/0.274, allocations: 1.316 MB / 389.4 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4875/0.7616, allocations: 4.246 MB / 393.6 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.7644, allocations: 1.319 MB / 395 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.354e-05/0.7646, allocations: 8 kB / 395 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.7647, allocations: 39.75 kB / 395 MB, free: 17.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 7.704e-06/0.7647, allocations: 0 / 395 MB, free: 17.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=50): time 0.008676/0.7734, allocations: 1.977 MB / 397 MB, free: 16.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.7735, allocations: 57.75 kB / 397 MB, free: 16.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.7763, allocations: 0.8162 MB / 397.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.7765, allocations: 32.55 kB / 397.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/0.7772, allocations: 0.5565 MB / 398.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.7775, allocations: 170.9 kB / 398.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.7776, allocations: 9.938 kB / 398.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7777, allocations: 337.1 kB / 398.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.7792, allocations: 309.7 kB / 399.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.7812, allocations: 406.1 kB / 399.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.7829, allocations: 378.5 kB / 400 MB, free: 14.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.783, allocations: 3.953 kB / 400 MB, free: 14.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003708/0.7867, allocations: 0.8852 MB / 400.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.7868, allocations: 5.469 kB / 400.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.7868, allocations: 4.094 kB / 400.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006871/0.7875, allocations: 107.8 kB / 401 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.7899, allocations: 129.7 kB / 401.1 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.7969, allocations: 2.184 MB / 403.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7984, allocations: 34.19 kB / 403.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.7986, allocations: 24.2 kB / 403.4 MB, free: 12.37 MB / 282.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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002576/0.8012, allocations: 460.3 kB / 403.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.8017, allocations: 71.92 kB / 403.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.8023, allocations: 90.52 kB / 404 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.8023, allocations: 4.969 kB / 404 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/0.8023, allocations: 1.547 kB / 404 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.8024, allocations: 3.906 kB / 404 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009335/0.8117, allocations: 2.018 MB / 406 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.8118, allocations: 1.094 kB / 406 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.8129, allocations: 96.92 kB / 406.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006282/0.8136, allocations: 114.8 kB / 406.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.8137, allocations: 12.5 kB / 406.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.8192, allocations: 2.134 MB / 408.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.8193, allocations: 1.094 kB / 408.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/0.824, allocations: 1.23 MB / 409.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.8247, allocations: 163.8 kB / 409.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.825, allocations: 15.97 kB / 409.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8261, allocations: 52.47 kB / 409.8 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.8264, allocations: 41.31 kB / 409.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.8265, allocations: 10.19 kB / 409.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002278/0.8288, allocations: 0.5875 MB / 410.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.8289, allocations: 1.375 kB / 410.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002372/0.8313, allocations: 208.5 kB / 410.7 MB, free: 7.691 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004783/0.8319, allocations: 118.1 kB / 410.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004299/0.8362, allocations: 0.829 MB / 411.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.8363, allocations: 1.531 kB / 411.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.8383, allocations: 490.7 kB / 412.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.8407, allocations: 160.9 kB / 412.3 MB, free: 6.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/0.8498, allocations: 2.614 MB / 414.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.8521, allocations: 1.339 MB / 416.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.8527, allocations: 46.84 kB / 416.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of SimCode: time 1.994e-06/0.8527, allocations: 0 / 416.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of Templates: time 0.05984/0.9126, allocations: 18.15 MB / 434.4 MB, free: 2.168 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches