Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 114.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 211.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.88 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2508, allocations: 50.54 MB / 410.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005085/0.2559, allocations: 3.8 MB / 414 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2579, allocations: 1.075 MB / 415.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.2581, allocations: 23.88 kB / 415.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.2585, allocations: 154.8 kB / 415.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007703/0.2592, allocations: 302.3 kB / 415.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.2595, allocations: 139.8 kB / 415.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.261, allocations: 1.412 MB / 417.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.2621, allocations: 0.9126 MB / 418 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.2629, allocations: 0.6503 MB / 418.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009332/0.2638, allocations: 0.7745 MB / 419.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.264, allocations: 163.9 kB / 419.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.2643, allocations: 164 kB / 419.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.2647, allocations: 474.7 kB / 420.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.2655, allocations: 0.7428 MB / 421 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.2675, allocations: 2.086 MB / 423 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2675, allocations: 0 / 423 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2675, allocations: 0 / 423 MB, free: 4.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.2676, allocations: 0 / 423 MB, free: 4.488 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003041/0.2706, allocations: 1.725 MB / 424.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2706, allocations: 16.02 kB / 424.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005127/0.2711, allocations: 180 kB / 425 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.2726, allocations: 0.9207 MB / 425.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/0.2727, allocations: 90.38 kB / 426 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.2729, allocations: 108 kB / 426.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.2754, allocations: 1.568 MB / 427.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2754, allocations: 4 kB / 427.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.2755, allocations: 48 kB / 427.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.2755, allocations: 24 kB / 427.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.2777, allocations: 1.336 MB / 429.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007039/0.2848, allocations: 4.277 MB / 433.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.2861, allocations: 1.288 MB / 434.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000966/0.287, allocations: 0.5022 MB / 435.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.2871, allocations: 8.422 kB / 435.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.2871, allocations: 39 kB / 435.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.2871, allocations: 0 / 435.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001604/0.2887, allocations: 0.8849 MB / 436.1 MB, free: 7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.2888, allocations: 59.84 kB / 436.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2899, allocations: 0.8282 MB / 436.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.29, allocations: 37.69 kB / 437 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.2904, allocations: 0.5546 MB / 437.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.2906, allocations: 186.3 kB / 437.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.2908, allocations: 114.2 kB / 437.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.291, allocations: 382.8 kB / 438.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.2915, allocations: 296.9 kB / 438.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.292, allocations: 398.5 kB / 438.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2931, allocations: 0.6902 MB / 439.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2931, allocations: 4 kB / 439.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001373/0.2944, allocations: 0.8224 MB / 440.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2945, allocations: 8 kB / 440.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.2945, allocations: 4 kB / 440.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2945, allocations: 8 kB / 440.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.2951, allocations: 147.8 kB / 440.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.2951, allocations: 4.281 kB / 440.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.2955, allocations: 71.53 kB / 440.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2956, allocations: 19.98 kB / 440.7 MB, free: 2.273 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006613/0.2962, allocations: 469.3 kB / 441.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2964, allocations: 75.53 kB / 441.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.2966, allocations: 95.08 kB / 441.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2966, allocations: 4 kB / 441.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2966, allocations: 0 / 441.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.2966, allocations: 11.92 kB / 441.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.2998, allocations: 1.938 MB / 443.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.2998, allocations: 7.984 kB / 443.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.3003, allocations: 111.9 kB / 443.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.3003, allocations: 4 kB / 443.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3003, allocations: 15.94 kB / 443.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3003, allocations: 7.984 kB / 443.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3003, allocations: 0 / 443.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.302, allocations: 1.134 MB / 444.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.3022, allocations: 180.5 kB / 444.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.3023, allocations: 12 kB / 444.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.3027, allocations: 43.95 kB / 444.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3028, allocations: 44.33 kB / 444.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.3029, allocations: 15.98 kB / 444.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007894/0.3036, allocations: 0.5927 MB / 445.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3036, allocations: 0 / 445.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000744/0.3044, allocations: 291.1 kB / 445.7 MB, free: 13.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.3045, allocations: 122.1 kB / 445.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3056, allocations: 0.6301 MB / 446.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3056, allocations: 0 / 446.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.3061, allocations: 310.2 kB / 446.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.307, allocations: 187.7 kB / 446.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.3107, allocations: 2.31 MB / 449.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.3118, allocations: 1.34 MB / 450.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.3123, allocations: 213.8 kB / 450.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3124, allocations: 55.44 kB / 450.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3124, allocations: 4 kB / 450.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of Templates: time 0.01945/0.3319, allocations: 10.27 MB / 461.1 MB, free: 13.73 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches