Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001243/0.001243, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.00138/0.00138, allocations: 220.6 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3007, allocations: 53.33 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005383/0.3061, allocations: 3.828 MB / 433.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.3084, allocations: 1.032 MB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.3086, allocations: 19.94 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.309, allocations: 158.8 kB / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009116/0.3099, allocations: 306.3 kB / 435.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3102, allocations: 131.8 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3117, allocations: 1.405 MB / 436.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008511/0.3126, allocations: 0.6271 MB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.3134, allocations: 0.6463 MB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000979/0.3144, allocations: 0.7783 MB / 438.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.3146, allocations: 156 kB / 438.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.3149, allocations: 168 kB / 439 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.3153, allocations: 462.7 kB / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.316, allocations: 0.7311 MB / 440.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.3181, allocations: 2.064 MB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3181, allocations: 0 / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3181, allocations: 0 / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.3181, allocations: 0 / 442.3 MB, free: 10.98 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003018/0.3211, allocations: 1.709 MB / 444 MB, free: 9.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3212, allocations: 12.03 kB / 444 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004925/0.3217, allocations: 176 kB / 444.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.323, allocations: 0.8974 MB / 445.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/0.3231, allocations: 90.28 kB / 445.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3233, allocations: 108 kB / 445.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.3258, allocations: 1.564 MB / 446.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3258, allocations: 0 / 446.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3259, allocations: 48 kB / 446.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/0.326, allocations: 42.22 kB / 446.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.3281, allocations: 1.324 MB / 448.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/0.3342, allocations: 4.163 MB / 452.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.3354, allocations: 1.267 MB / 453.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.336, allocations: 408.8 kB / 454.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.336, allocations: 4.375 kB / 454.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.3361, allocations: 46.88 kB / 454.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.275e-06/0.3361, allocations: 0 / 454.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00314/0.3392, allocations: 1.879 MB / 456 MB, free: 12.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.3393, allocations: 55.84 kB / 456.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3403, allocations: 0.8244 MB / 456.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3404, allocations: 37.7 kB / 456.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.3408, allocations: 0.5583 MB / 457.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3409, allocations: 178.5 kB / 457.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3411, allocations: 102.2 kB / 457.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3413, allocations: 378.8 kB / 458.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.3417, allocations: 300.9 kB / 458.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.3423, allocations: 408 kB / 458.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.3432, allocations: 0.6802 MB / 459.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3432, allocations: 8 kB / 459.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001481/0.3447, allocations: 0.9022 MB / 460.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3447, allocations: 4 kB / 460.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3447, allocations: 4 kB / 460.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.3451, allocations: 108.8 kB / 460.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.3455, allocations: 115.8 kB / 460.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.3479, allocations: 2.369 MB / 463 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.3482, allocations: 23.98 kB / 463 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.3483, allocations: 20 kB / 463 MB, free: 5.406 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0006792/0.349, allocations: 456.9 kB / 463.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3491, allocations: 83.47 kB / 463.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.3492, allocations: 87.14 kB / 463.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3492, allocations: 4 kB / 463.7 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3492, allocations: 4 kB / 463.7 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.3492, allocations: 7.969 kB / 463.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.3521, allocations: 1.915 MB / 465.6 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3521, allocations: 0 / 465.6 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.3524, allocations: 83.95 kB / 465.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.3526, allocations: 104.8 kB / 465.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.3526, allocations: 12 kB / 465.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.3549, allocations: 2.318 MB / 468.1 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3549, allocations: 4.375 kB / 468.1 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3565, allocations: 1.153 MB / 469.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.3567, allocations: 160.6 kB / 469.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.3568, allocations: 15.94 kB / 469.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.3571, allocations: 51.89 kB / 469.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3572, allocations: 35.94 kB / 469.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.3573, allocations: 16.06 kB / 469.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007614/0.358, allocations: 0.5927 MB / 470.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 0 / 470.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007227/0.3588, allocations: 212 kB / 470.3 MB, free: 13.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.0001577/0.3589, allocations: 111.1 kB / 470.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3602, allocations: 0.7769 MB / 471.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3602, allocations: 0 / 471.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.3609, allocations: 462.9 kB / 471.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.3618, allocations: 182.8 kB / 471.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.3654, allocations: 2.219 MB / 474.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.3664, allocations: 1.34 MB / 475.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.3668, allocations: 181.7 kB / 475.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.367, allocations: 51.44 kB / 475.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.367, allocations: 0 / 475.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of Templates: time 0.01937/0.3863, allocations: 10.72 MB / 486.4 MB, free: 13.83 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.73893878608942]