Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 208 kB / 19.25 MB, free: 3.895 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.422/1.422, allocations: 227.7 MB / 247.7 MB, free: 10.29 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.001974/0.001974, allocations: 65.14 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.113, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005299/0.1183, allocations: 3.76 MB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.1205, allocations: 1.032 MB / 363.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.1208, allocations: 23.88 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1212, allocations: 146.8 kB / 363.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.122, allocations: 266.5 kB / 363.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1223, allocations: 135.8 kB / 363.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1238, allocations: 1.401 MB / 365.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.1252, allocations: 1.185 MB / 366.4 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009176/0.1262, allocations: 0.6308 MB / 367 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.1272, allocations: 0.7588 MB / 367.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.1274, allocations: 160 kB / 367.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.1278, allocations: 168 kB / 368.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.1282, allocations: 454.8 kB / 368.5 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.1291, allocations: 0.735 MB / 369.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.131, allocations: 2.029 MB / 371.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.131, allocations: 0 / 371.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.131, allocations: 0 / 371.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.1311, allocations: 0 / 371.3 MB, free: 0.9961 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.1576/0.2887, allocations: 1.674 MB / 373 MB, free: 19.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2887, allocations: 9.344 kB / 373 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.2893, allocations: 169.7 kB / 373.1 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.2906, allocations: 0.8642 MB / 374 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.2907, allocations: 91.78 kB / 374.1 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.2908, allocations: 103.7 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.2933, allocations: 1.544 MB / 375.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.2933, allocations: 1.375 kB / 375.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/0.2934, allocations: 48.84 kB / 375.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.2935, allocations: 31.23 kB / 375.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.2955, allocations: 1.315 MB / 377.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005912/0.3014, allocations: 4.215 MB / 381.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.3023, allocations: 1.316 MB / 382.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.3029, allocations: 461.3 kB / 383.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.303, allocations: 5.25 kB / 383.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.303, allocations: 37.91 kB / 383.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.464e-06/0.303, allocations: 0 / 383.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00301/0.306, allocations: 1.94 MB / 385.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.306, allocations: 56.19 kB / 385.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.307, allocations: 0.8288 MB / 386 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.307, allocations: 39.98 kB / 386 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.3073, allocations: 0.5387 MB / 386.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.3074, allocations: 183.3 kB / 386.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.3076, allocations: 103 kB / 386.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.3077, allocations: 386.8 kB / 387.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.3081, allocations: 301.3 kB / 387.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.3086, allocations: 407.5 kB / 387.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/0.3095, allocations: 0.7049 MB / 388.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3095, allocations: 1.406 kB / 388.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001227/0.3107, allocations: 0.9182 MB / 389.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3107, allocations: 5.719 kB / 389.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3107, allocations: 6.625 kB / 389.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.311, allocations: 110.1 kB / 389.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.3115, allocations: 123.8 kB / 389.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.3132, allocations: 2.364 MB / 392.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3136, allocations: 27.41 kB / 392.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.3137, allocations: 18.28 kB / 392.2 MB, free: 8.738 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.000517/0.3142, allocations: 468.6 kB / 392.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3143, allocations: 76.5 kB / 392.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.3144, allocations: 89.2 kB / 392.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3145, allocations: 5.062 kB / 392.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3145, allocations: 1.375 kB / 392.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3145, allocations: 5.266 kB / 392.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.3171, allocations: 2.033 MB / 394.8 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3171, allocations: 1.562 kB / 394.8 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.3174, allocations: 90.25 kB / 394.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.3176, allocations: 104.2 kB / 395 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.3177, allocations: 13.66 kB / 395 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.3192, allocations: 2.33 MB / 397.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3192, allocations: 1.469 kB / 397.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.3206, allocations: 1.198 MB / 398.6 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.3208, allocations: 163.8 kB / 398.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.3209, allocations: 18.05 kB / 398.8 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3212, allocations: 45.86 kB / 398.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.3213, allocations: 38.52 kB / 398.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3214, allocations: 20.23 kB / 398.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005748/0.322, allocations: 0.5899 MB / 399.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.322, allocations: 0 / 399.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007342/0.3227, allocations: 217.2 kB / 399.7 MB, free: 3.555 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.0001262/0.3228, allocations: 117.2 kB / 399.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.3241, allocations: 0.944 MB / 400.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3242, allocations: 3.938 kB / 400.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.3247, allocations: 488.8 kB / 401.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008026/0.3256, allocations: 171.6 kB / 401.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.3282, allocations: 2.228 MB / 403.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.3292, allocations: 1.32 MB / 404.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3294, allocations: 51.44 kB / 405 MB, free: 14.46 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3294, allocations: 0 / 405 MB, free: 14.46 MB / 318.1 MB Notification: Performance of Templates: time 0.02547/0.3549, allocations: 18.91 MB / 423.9 MB, free: 11.6 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches