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.001565/0.001565, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002404/0.002404, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002281/0.002281, allocations: 60.78 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2963, allocations: 53.38 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005515/0.3019, allocations: 3.827 MB / 436.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.304, allocations: 1.028 MB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.3043, allocations: 31.75 kB / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3046, allocations: 154.8 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.3055, allocations: 286.4 kB / 437.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.3058, allocations: 147.8 kB / 437.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3073, allocations: 1.401 MB / 439.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.3083, allocations: 0.6392 MB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.3091, allocations: 0.6425 MB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3102, allocations: 0.7706 MB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3104, allocations: 163.9 kB / 441.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.3107, allocations: 160 kB / 441.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.3111, allocations: 462.7 kB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007439/0.3118, allocations: 0.735 MB / 442.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.3139, allocations: 2.053 MB / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3139, allocations: 0 / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3139, allocations: 4 kB / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.3139, allocations: 0 / 444.9 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.002866/0.3167, allocations: 1.626 MB / 446.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3168, allocations: 8.031 kB / 446.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.3173, allocations: 176 kB / 446.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3188, allocations: 0.8512 MB / 447.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.3188, allocations: 90.34 kB / 447.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.319, allocations: 111.9 kB / 447.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.3215, allocations: 1.537 MB / 449.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3216, allocations: 0 / 449.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3217, allocations: 48 kB / 449.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.3217, allocations: 24 kB / 449.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.3238, allocations: 1.32 MB / 450.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006755/0.3306, allocations: 4.121 MB / 454.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3316, allocations: 0.6085 MB / 455.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.3323, allocations: 442.4 kB / 455.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3323, allocations: 4.438 kB / 455.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.3324, allocations: 39 kB / 455.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.3324, allocations: 4 kB / 455.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003546/0.3359, allocations: 1.881 MB / 457.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.336, allocations: 59.84 kB / 457.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.3372, allocations: 0.8321 MB / 458.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.3372, allocations: 29.7 kB / 458.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.3377, allocations: 0.5584 MB / 459.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.3378, allocations: 178.5 kB / 459.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.338, allocations: 106.2 kB / 459.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3382, allocations: 386.8 kB / 459.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.3387, allocations: 305.1 kB / 460.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.3393, allocations: 404.2 kB / 460.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3403, allocations: 0.7097 MB / 461.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3403, allocations: 0 / 461.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001526/0.3418, allocations: 0.9114 MB / 462.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3419, allocations: 4 kB / 462.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3419, allocations: 4 kB / 462.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.3422, allocations: 109 kB / 462.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.3427, allocations: 127.8 kB / 462.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.3452, allocations: 2.261 MB / 464.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.3456, allocations: 31.91 kB / 464.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3456, allocations: 24 kB / 464.8 MB, free: 5.984 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.0006773/0.3463, allocations: 457.5 kB / 465.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3464, allocations: 79.53 kB / 465.3 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.3466, allocations: 95.06 kB / 465.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3466, allocations: 8 kB / 465.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3466, allocations: 0 / 465.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3466, allocations: 3.938 kB / 465.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.3499, allocations: 1.981 MB / 467.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3499, allocations: 0 / 467.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.3503, allocations: 91.88 kB / 467.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.3505, allocations: 100.8 kB / 467.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.3506, allocations: 12 kB / 467.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.3529, allocations: 2.234 MB / 469.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3529, allocations: 4.031 kB / 469.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.3547, allocations: 1.201 MB / 471 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3549, allocations: 83.52 kB / 471.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.355, allocations: 23.92 kB / 471.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.3554, allocations: 51.95 kB / 471.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3555, allocations: 44.3 kB / 471.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.3555, allocations: 16 kB / 471.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.3563, allocations: 0.5966 MB / 471.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3563, allocations: 4 kB / 471.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001094/0.3574, allocations: 208 kB / 472 MB, free: 14.48 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.0002154/0.3576, allocations: 115.1 kB / 472.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3598, allocations: 0.8005 MB / 472.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3598, allocations: 0 / 472.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.361, allocations: 476.8 kB / 473.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.3619, allocations: 175.6 kB / 473.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3656, allocations: 2.248 MB / 475.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.3667, allocations: 1.34 MB / 477.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.3672, allocations: 189.8 kB / 477.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3673, allocations: 47.44 kB / 477.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3673, allocations: 0 / 477.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Templates: time 0.02105/0.3883, allocations: 11.08 MB / 488.5 MB, free: 14.04 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/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_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: 4.787351757287979]