Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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 3.2.3+maint.om/package.mo", uses=false) 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 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.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 113.3 kB / 18.4 MB, free: 4.562 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.001994/0.001994, allocations: 185.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 52.25 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.155, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.007372/0.1625, allocations: 3.72 MB / 379.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2672/0.4298, allocations: 1.061 MB / 380.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000615/0.4305, allocations: 20.22 kB / 380.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.431, allocations: 155.6 kB / 380.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.4321, allocations: 295.5 kB / 381.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.4325, allocations: 137.4 kB / 381.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.4343, allocations: 1.454 MB / 382.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.4361, allocations: 1.144 MB / 383.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.4373, allocations: 0.6402 MB / 384.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.4389, allocations: 0.7721 MB / 385.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.4393, allocations: 158.4 kB / 385.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.4399, allocations: 159.4 kB / 385.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007214/0.4406, allocations: 466.7 kB / 386 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.4421, allocations: 0.7339 MB / 386.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.4458, allocations: 2.065 MB / 388.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4459, allocations: 0 / 388.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.4459, allocations: 0.75 kB / 388.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.316e-05/0.446, allocations: 1.531 kB / 388.8 MB, free: 7.449 MB / 318.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.004517/0.4505, allocations: 1.679 MB / 390.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4505, allocations: 11.03 kB / 390.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.4509, allocations: 142.8 kB / 390.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.4524, allocations: 0.8334 MB / 391.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.4525, allocations: 83.34 kB / 391.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.4527, allocations: 113.7 kB / 391.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/0.4559, allocations: 1.567 MB / 393.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.456, allocations: 5.188 kB / 393.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.4561, allocations: 46.52 kB / 393.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.4561, allocations: 27.78 kB / 393.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.4588, allocations: 1.325 MB / 394.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007722/0.4665, allocations: 4.275 MB / 398.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.4678, allocations: 1.331 MB / 400.2 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/0.4687, allocations: 0.5199 MB / 400.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.4688, allocations: 5.031 kB / 400.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.4688, allocations: 46.67 kB / 400.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.946e-06/0.4688, allocations: 0 / 400.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001791/0.4706, allocations: 0.8739 MB / 401.6 MB, free: 476 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4707, allocations: 58.16 kB / 401.7 MB, free: 412 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.4721, allocations: 0.819 MB / 402.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.4721, allocations: 36.98 kB / 402.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.4726, allocations: 0.5417 MB / 403.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4728, allocations: 179.2 kB / 403.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.473, allocations: 103.5 kB / 403.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.4732, allocations: 391.6 kB / 403.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.4738, allocations: 304.5 kB / 404.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.4744, allocations: 394.7 kB / 404.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4755, allocations: 0.6918 MB / 405.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.4755, allocations: 0 / 405.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001635/0.4772, allocations: 0.8248 MB / 406 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.4772, allocations: 5.906 kB / 406 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4772, allocations: 6.344 kB / 406 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.4773, allocations: 4.594 kB / 406 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.478, allocations: 148.1 kB / 406.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.478, allocations: 9.156 kB / 406.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.4785, allocations: 59 kB / 406.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.4786, allocations: 27.19 kB / 406.2 MB, free: 13.5 MB / 334.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.0008835/0.4795, allocations: 463.8 kB / 406.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.4797, allocations: 76 kB / 406.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.4799, allocations: 88.67 kB / 406.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.4799, allocations: 6.219 kB / 406.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.4799, allocations: 0 / 406.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4799, allocations: 3.984 kB / 406.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.4832, allocations: 1.937 MB / 408.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4832, allocations: 1.844 kB / 408.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.4838, allocations: 125.9 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.4838, allocations: 2.656 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.4839, allocations: 17.12 kB / 408.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.4839, allocations: 4.438 kB / 408.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4839, allocations: 0 / 408.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.486, allocations: 1.133 MB / 410 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.4864, allocations: 166.1 kB / 410.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.4865, allocations: 17.42 kB / 410.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.487, allocations: 50.7 kB / 410.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4872, allocations: 38.11 kB / 410.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.4872, allocations: 19.2 kB / 410.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.4883, allocations: 0.5875 MB / 410.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4883, allocations: 1.719 kB / 410.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001088/0.4894, allocations: 283.8 kB / 411.2 MB, free: 10.49 MB / 334.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.0001998/0.4896, allocations: 113.3 kB / 411.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4908, allocations: 0.6497 MB / 412 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4908, allocations: 0 / 412 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.4913, allocations: 330.3 kB / 412.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4924, allocations: 182.9 kB / 412.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.4975, allocations: 2.285 MB / 414.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.4988, allocations: 1.317 MB / 416.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.4992, allocations: 55.42 kB / 416.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4992, allocations: 3.938 kB / 416.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of Templates: time 0.02566/0.5249, allocations: 13.39 MB / 429.5 MB, free: 8.164 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches