Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001656/0.001656, allocations: 113.1 kB / 21.19 MB, free: 0.7773 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.002078/0.002078, allocations: 209.9 kB / 24.49 MB, free: 4.164 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 8.023 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2835, allocations: 53.4 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007873/0.2914, allocations: 6 MB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.2956, allocations: 2.157 MB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.2964, allocations: 51.62 kB / 440.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.2977, allocations: 406.9 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.2995, allocations: 0.6022 MB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.3001, allocations: 231.7 kB / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.3027, allocations: 2.241 MB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.3043, allocations: 1.163 MB / 445.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.3064, allocations: 1.096 MB / 446.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.3082, allocations: 1.253 MB / 447.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003814/0.3086, allocations: 288 kB / 447.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.3092, allocations: 379.8 kB / 448.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.3099, allocations: 0.7168 MB / 449 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.3113, allocations: 1.241 MB / 450.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.3155, allocations: 3.823 MB / 454.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3155, allocations: 7.938 kB / 454.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3155, allocations: 0 / 454.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.679e-05/0.3156, allocations: 0 / 454.1 MB, free: 0.9961 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.004762/0.3203, allocations: 2.377 MB / 456.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3204, allocations: 8.031 kB / 456.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.3213, allocations: 291.5 kB / 456.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.3239, allocations: 1.323 MB / 458.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.324, allocations: 127.9 kB / 458.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.3243, allocations: 180.1 kB / 458.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/0.3287, allocations: 2.579 MB / 460.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.3287, allocations: 4 kB / 460.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.3289, allocations: 71.98 kB / 461 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.329, allocations: 107.6 kB / 461.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.3327, allocations: 2.126 MB / 463.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.3445, allocations: 7.488 MB / 470.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3458, allocations: 0.7113 MB / 471.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.3466, allocations: 438.6 kB / 471.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.3468, allocations: 40.41 kB / 471.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3468, allocations: 39 kB / 472 MB, free: 14.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.515e-06/0.3468, allocations: 0 / 472 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004195/0.351, allocations: 2.141 MB / 474.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3511, allocations: 89.53 kB / 474.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.3532, allocations: 1.536 MB / 475.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.3533, allocations: 37.7 kB / 475.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007875/0.3541, allocations: 1.006 MB / 476.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.3542, allocations: 210.4 kB / 477 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003352/0.3546, allocations: 242.8 kB / 477.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3548, allocations: 357.9 kB / 477.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/0.3555, allocations: 458.3 kB / 478 MB, free: 8.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.3569, allocations: 1.108 MB / 479.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.3591, allocations: 1.64 MB / 480.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.3591, allocations: 8 kB / 480.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00288/0.362, allocations: 1.707 MB / 482.5 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.362, allocations: 12 kB / 482.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.362, allocations: 24 kB / 482.5 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.3628, allocations: 177.1 kB / 482.7 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/0.3637, allocations: 291.5 kB / 483 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.3664, allocations: 2.259 MB / 485.2 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/0.3674, allocations: 91.88 kB / 485.3 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.3675, allocations: 75.94 kB / 485.4 MB, free: 412 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.3686, allocations: 0.7118 MB / 486.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.3688, allocations: 143.1 kB / 486.2 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.3703, allocations: 0.8374 MB / 487.1 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3703, allocations: 4 kB / 487.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3703, allocations: 4 kB / 487.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3703, allocations: 3.984 kB / 487.1 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.3745, allocations: 2.49 MB / 489.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3745, allocations: 4.219 kB / 489.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.3749, allocations: 95.88 kB / 489.7 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006865/0.3756, allocations: 152.6 kB / 489.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.3756, allocations: 16 kB / 489.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/0.3781, allocations: 2.203 MB / 492 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3782, allocations: 4.031 kB / 492 MB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.3804, allocations: 1.325 MB / 493.4 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.381, allocations: 211.1 kB / 493.6 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.3813, allocations: 19.98 kB / 493.6 MB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.3819, allocations: 51.97 kB / 493.6 MB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.382, allocations: 51.8 kB / 493.7 MB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.3821, allocations: 23.98 kB / 493.7 MB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001611/0.3837, allocations: 1.04 MB / 494.8 MB, free: 6.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3837, allocations: 0 / 494.8 MB, free: 6.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001383/0.385, allocations: 355.9 kB / 495.1 MB, free: 6.383 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004392/0.3855, allocations: 193.3 kB / 495.3 MB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.3875, allocations: 1.126 MB / 496.4 MB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3876, allocations: 4.25 kB / 496.4 MB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008465/0.3884, allocations: 0.4904 MB / 496.9 MB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.3899, allocations: 375.5 kB / 497.3 MB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.3963, allocations: 3.285 MB / 0.4888 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.398, allocations: 1.674 MB / 0.4905 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.3984, allocations: 95.42 kB / 0.4906 GB, free: 15.04 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3984, allocations: 0 / 0.4906 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Templates: time 0.04929/0.4477, allocations: 32.73 MB / 0.5225 GB, free: 14.37 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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: 11.058795958990231]