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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.75 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09254, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004909/0.09749, allocations: 3.782 MB / 362.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.09913, allocations: 1.024 MB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.09934, allocations: 19.94 kB / 363.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.09965, allocations: 146.8 kB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.1003, allocations: 270.5 kB / 364.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.1006, allocations: 139.8 kB / 364.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1019, allocations: 1.404 MB / 365.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1031, allocations: 1.182 MB / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.1039, allocations: 0.6386 MB / 367.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008598/0.1047, allocations: 0.7627 MB / 368.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.1049, allocations: 156 kB / 368.4 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.1052, allocations: 160 kB / 368.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003665/0.1056, allocations: 458.8 kB / 369 MB, free: 3.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007364/0.1063, allocations: 0.735 MB / 369.7 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.1081, allocations: 2.045 MB / 371.8 MB, free: 376 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1081, allocations: 0 / 371.8 MB, free: 376 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1081, allocations: 0 / 371.8 MB, free: 376 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1081, allocations: 0 / 371.8 MB, free: 376 kB / 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.1563/0.2644, allocations: 1.669 MB / 373.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2645, allocations: 14.55 kB / 373.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004637/0.265, allocations: 168.2 kB / 373.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.2664, allocations: 0.8958 MB / 374.5 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.2665, allocations: 86.28 kB / 374.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2666, allocations: 107.2 kB / 374.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.2689, allocations: 1.544 MB / 376.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.269, allocations: 0 / 376.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.2691, allocations: 51.84 kB / 376.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.2691, allocations: 26.12 kB / 376.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.2709, allocations: 1.314 MB / 377.7 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/0.2767, allocations: 4.17 MB / 381.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009189/0.2777, allocations: 1.315 MB / 383.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.2783, allocations: 464.6 kB / 383.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.2784, allocations: 8.031 kB / 383.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2784, allocations: 39.53 kB / 383.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 1.954e-06/0.2784, allocations: 0 / 383.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.002878/0.2813, allocations: 1.94 MB / 385.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.2813, allocations: 57.78 kB / 385.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.2823, allocations: 0.828 MB / 386.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.2823, allocations: 40.17 kB / 386.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.2826, allocations: 0.5395 MB / 387 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.2827, allocations: 177.8 kB / 387.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.2828, allocations: 111.8 kB / 387.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.2829, allocations: 383.8 kB / 387.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.2833, allocations: 304.6 kB / 388 MB, free: 12.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.2838, allocations: 408.9 kB / 388.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.2846, allocations: 0.7038 MB / 389.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2846, allocations: 1.188 kB / 389.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001233/0.2859, allocations: 0.9189 MB / 390 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2859, allocations: 6.5 kB / 390 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2859, allocations: 2.594 kB / 390 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.2861, allocations: 103.8 kB / 390.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.2866, allocations: 124.9 kB / 390.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.2884, allocations: 2.366 MB / 392.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.2888, allocations: 23.8 kB / 392.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.2889, allocations: 17.97 kB / 392.7 MB, free: 8.805 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.0004922/0.2894, allocations: 464.1 kB / 393.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2895, allocations: 77.31 kB / 393.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2896, allocations: 94.02 kB / 393.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2896, allocations: 4.969 kB / 393.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2896, allocations: 1.406 kB / 393.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2896, allocations: 3.984 kB / 393.3 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.2924, allocations: 2.022 MB / 395.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2924, allocations: 4.156 kB / 395.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.2927, allocations: 86.08 kB / 395.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.2929, allocations: 104.6 kB / 395.5 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.293, allocations: 17.39 kB / 395.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.2945, allocations: 2.321 MB / 397.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2945, allocations: 5.188 kB / 397.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.2958, allocations: 1.202 MB / 399.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.296, allocations: 155.8 kB / 399.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.2961, allocations: 23.8 kB / 399.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.2965, allocations: 48.58 kB / 399.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.2966, allocations: 40.06 kB / 399.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.2966, allocations: 15.88 kB / 399.3 MB, free: 4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006013/0.2972, allocations: 0.5879 MB / 399.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2972, allocations: 0 / 399.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006856/0.2979, allocations: 218 kB / 400.1 MB, free: 3.562 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.0001179/0.298, allocations: 123.1 kB / 400.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.299, allocations: 0.8161 MB / 401.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2991, allocations: 4.125 kB / 401.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.2996, allocations: 484.8 kB / 401.5 MB, free: 2.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.3004, allocations: 180.8 kB / 401.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.3029, allocations: 2.191 MB / 403.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000904/0.3038, allocations: 1.346 MB / 405.3 MB, free: 14.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003857/0.3042, allocations: 185.8 kB / 405.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3044, allocations: 51.42 kB / 405.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.3044, allocations: 0 / 405.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of Templates: time 0.01631/0.3207, allocations: 10.45 MB / 415.9 MB, free: 3.797 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches