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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00784/0.00784, allocations: 106 kB / 21.98 MB, free: 5.223 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.002044/0.002044, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.43/1.43, allocations: 230.6 MB / 259 MB, free: 8.047 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY") [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.002884/0.002884, allocations: 63.91 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2568, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005549/0.2623, allocations: 3.82 MB / 437 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.2646, allocations: 1.032 MB / 438 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.265, allocations: 31.75 kB / 438.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.2654, allocations: 154.8 kB / 438.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2665, allocations: 298.4 kB / 438.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.2668, allocations: 139.8 kB / 438.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.2684, allocations: 1.401 MB / 440 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000891/0.2693, allocations: 0.6353 MB / 440.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000935/0.2702, allocations: 0.6503 MB / 441.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.2714, allocations: 0.7744 MB / 442.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.2716, allocations: 160 kB / 442.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.2719, allocations: 160 kB / 442.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.2723, allocations: 466.6 kB / 442.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.2731, allocations: 0.7272 MB / 443.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.2752, allocations: 2.057 MB / 445.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2752, allocations: 0 / 445.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2752, allocations: 0 / 445.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.2753, allocations: 0 / 445.6 MB, free: 10.41 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00321/0.2785, allocations: 1.626 MB / 447.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.2785, allocations: 12.03 kB / 447.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/0.279, allocations: 176 kB / 447.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.2807, allocations: 0.8551 MB / 448.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.2808, allocations: 86.34 kB / 448.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.2809, allocations: 108 kB / 448.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.2837, allocations: 1.537 MB / 450 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2837, allocations: 4 kB / 450 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.2838, allocations: 48 kB / 450.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.2838, allocations: 24 kB / 450.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.2861, allocations: 1.32 MB / 451.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006808/0.2929, allocations: 4.125 MB / 455.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/0.2938, allocations: 0.6084 MB / 456.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.2946, allocations: 434.5 kB / 456.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.2946, allocations: 4.438 kB / 456.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.2946, allocations: 46.94 kB / 456.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.776e-06/0.2946, allocations: 0 / 456.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003393/0.298, allocations: 1.877 MB / 458.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2981, allocations: 59.84 kB / 458.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.2992, allocations: 0.8321 MB / 459.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.2993, allocations: 33.7 kB / 459.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.2997, allocations: 0.5584 MB / 460 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.2999, allocations: 178.5 kB / 460.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.3001, allocations: 110.3 kB / 460.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.3003, allocations: 382.8 kB / 460.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.3008, allocations: 305.1 kB / 461 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.3013, allocations: 408.1 kB / 461.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3023, allocations: 0.7057 MB / 462.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3024, allocations: 0 / 462.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001495/0.3038, allocations: 0.9113 MB / 463 MB, free: 8.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3039, allocations: 8 kB / 463 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3039, allocations: 320 / 463 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/0.3042, allocations: 112.8 kB / 463.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.3047, allocations: 127.8 kB / 463.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.3073, allocations: 2.257 MB / 465.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.3078, allocations: 31.94 kB / 465.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.3078, allocations: 28.06 kB / 465.5 MB, free: 5.977 MB / 366.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.0007533/0.3085, allocations: 453.5 kB / 466 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3087, allocations: 79.47 kB / 466 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.3088, allocations: 99.06 kB / 466.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3088, allocations: 4 kB / 466.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3088, allocations: 0 / 466.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3089, allocations: 3.938 kB / 466.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.3122, allocations: 1.981 MB / 468.1 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3122, allocations: 0 / 468.1 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.3125, allocations: 95.81 kB / 468.2 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.3128, allocations: 104.9 kB / 468.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.3128, allocations: 12 kB / 468.3 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.3151, allocations: 2.222 MB / 470.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3151, allocations: 8.094 kB / 470.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.317, allocations: 1.204 MB / 471.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3172, allocations: 87.55 kB / 471.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.3173, allocations: 15.98 kB / 471.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.3177, allocations: 43.95 kB / 471.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3178, allocations: 44.3 kB / 472 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3178, allocations: 20.34 kB / 472 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008375/0.3186, allocations: 0.6004 MB / 472.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3186, allocations: 0 / 472.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007491/0.3194, allocations: 211.9 kB / 472.8 MB, free: 14.47 MB / 382.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.0001496/0.3195, allocations: 111.2 kB / 472.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.3209, allocations: 0.8042 MB / 473.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3209, allocations: 0 / 473.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.3217, allocations: 481.7 kB / 474.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.3225, allocations: 178.8 kB / 474.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.3265, allocations: 2.25 MB / 476.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.3275, allocations: 1.313 MB / 477.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.3278, allocations: 55.44 kB / 478 MB, free: 9.184 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3278, allocations: 0 / 478 MB, free: 9.184 MB / 382.1 MB Notification: Performance of Templates: time 0.02797/0.3558, allocations: 19.05 MB / 497 MB, free: 6.184 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.900478389114141]