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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 113 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 219.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "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.001912/0.001912, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.273, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005296/0.2783, allocations: 3.825 MB / 435.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.2806, allocations: 1.087 MB / 437 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.2809, allocations: 23.88 kB / 437 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.2812, allocations: 158.8 kB / 437.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008433/0.2821, allocations: 302.4 kB / 437.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.2823, allocations: 135.8 kB / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.2839, allocations: 1.424 MB / 439 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.2847, allocations: 0.6548 MB / 439.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.2856, allocations: 0.6425 MB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.2868, allocations: 0.8018 MB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.2871, allocations: 160 kB / 441.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.2874, allocations: 160 kB / 441.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004294/0.2878, allocations: 474.7 kB / 441.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008116/0.2886, allocations: 0.7428 MB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.2907, allocations: 2.08 MB / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2907, allocations: 0 / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2907, allocations: 0 / 444.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.2908, allocations: 0 / 444.7 MB, free: 10.68 MB / 350.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.003142/0.2939, allocations: 1.733 MB / 446.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2939, allocations: 12.03 kB / 446.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.2944, allocations: 176 kB / 446.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.2961, allocations: 0.9207 MB / 447.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.2961, allocations: 86.38 kB / 447.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.2963, allocations: 112 kB / 447.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.2988, allocations: 1.572 MB / 449.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.2988, allocations: 0 / 449.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.2989, allocations: 44 kB / 449.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.2989, allocations: 28 kB / 449.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3011, allocations: 1.34 MB / 450.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007038/0.3082, allocations: 4.273 MB / 455 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3094, allocations: 1.302 MB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009177/0.3104, allocations: 0.4905 MB / 456.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3104, allocations: 12.44 kB / 456.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3104, allocations: 35 kB / 456.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.746e-06/0.3104, allocations: 0 / 456.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001593/0.312, allocations: 0.8888 MB / 457.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3121, allocations: 55.84 kB / 457.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3132, allocations: 0.836 MB / 458.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.3133, allocations: 37.7 kB / 458.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.3138, allocations: 0.5545 MB / 459.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.314, allocations: 190.4 kB / 459.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.3142, allocations: 106.2 kB / 459.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3144, allocations: 382.8 kB / 459.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.3149, allocations: 300.9 kB / 460.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.3155, allocations: 394.5 kB / 460.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.3165, allocations: 0.6941 MB / 461.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3165, allocations: 0 / 461.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001362/0.3179, allocations: 0.8262 MB / 462 MB, free: 8.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3179, allocations: 10.66 kB / 462 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3179, allocations: 288 / 462 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3179, allocations: 11.98 kB / 462.1 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.3185, allocations: 143.8 kB / 462.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.3186, allocations: 15.97 kB / 462.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.319, allocations: 59.55 kB / 462.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.319, allocations: 20 kB / 462.3 MB, free: 8.461 MB / 366.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.0006786/0.3197, allocations: 461.4 kB / 462.7 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3198, allocations: 75.53 kB / 462.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.32, allocations: 107 kB / 462.9 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.32, allocations: 4 kB / 462.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.32, allocations: 0 / 462.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.32, allocations: 3.938 kB / 462.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.3232, allocations: 1.946 MB / 464.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3232, allocations: 4 kB / 464.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.3237, allocations: 112 kB / 465 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.3237, allocations: 11.94 kB / 465 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3237, allocations: 15.98 kB / 465 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3237, allocations: 4 kB / 465 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3237, allocations: 0 / 465 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3253, allocations: 1.126 MB / 466.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.3255, allocations: 180.5 kB / 466.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.3256, allocations: 16 kB / 466.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.326, allocations: 43.95 kB / 466.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.3261, allocations: 48.31 kB / 466.4 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.3261, allocations: 16 kB / 466.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007857/0.3269, allocations: 0.5927 MB / 467 MB, free: 3.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3269, allocations: 3.938 kB / 467 MB, free: 3.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007382/0.3277, allocations: 287.1 kB / 467.3 MB, free: 3.305 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.0001717/0.3278, allocations: 123.1 kB / 467.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3289, allocations: 0.6262 MB / 468.1 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3289, allocations: 4 kB / 468.1 MB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.3293, allocations: 311.1 kB / 468.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.3302, allocations: 174.9 kB / 468.5 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.334, allocations: 2.328 MB / 470.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.335, allocations: 1.32 MB / 472.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.3352, allocations: 51.44 kB / 472.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3352, allocations: 4 kB / 472.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.02027/0.3555, allocations: 13.53 MB / 485.8 MB, free: 0.7969 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.021917710080743]