Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 185.8 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 51.92 kB / 371.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2758, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01089/0.2867, allocations: 5.317 MB / 429.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.2919, allocations: 1.959 MB / 431.1 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.2929, allocations: 51.62 kB / 431.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.2945, allocations: 389.5 kB / 431.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.2968, allocations: 0.5827 MB / 432.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.2976, allocations: 215.8 kB / 432.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.3015, allocations: 2.225 MB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002787/0.3043, allocations: 1.12 MB / 435.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.3073, allocations: 1.072 MB / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.3103, allocations: 1.21 MB / 438 MB, free: 248 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000859/0.3111, allocations: 288 kB / 438.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3126, allocations: 359.8 kB / 438.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.3138, allocations: 0.7129 MB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.3155, allocations: 0.9921 MB / 440.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.32, allocations: 3.814 MB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.32, allocations: 0 / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.32, allocations: 0 / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.709e-05/0.32, allocations: 0 / 444.1 MB, free: 10.07 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004257/0.3243, allocations: 2.361 MB / 446.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3243, allocations: 8.031 kB / 446.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.3249, allocations: 263.5 kB / 446.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.3273, allocations: 1.3 MB / 448 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3274, allocations: 135.5 kB / 448.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.3277, allocations: 179.9 kB / 448.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.332, allocations: 2.752 MB / 451.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.332, allocations: 0 / 451.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.3322, allocations: 72 kB / 451.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.3323, allocations: 95.58 kB / 451.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.3358, allocations: 2.106 MB / 453.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.3469, allocations: 6.335 MB / 459.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.3481, allocations: 0.6968 MB / 460.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.3489, allocations: 446.9 kB / 460.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.349, allocations: 36.41 kB / 460.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3491, allocations: 39 kB / 460.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.265e-06/0.3491, allocations: 4 kB / 460.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004115/0.3532, allocations: 2.125 MB / 463 MB, free: 6.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.3532, allocations: 81.55 kB / 463.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.3551, allocations: 1.347 MB / 464.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.3551, allocations: 33.7 kB / 464.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.3559, allocations: 1.021 MB / 465.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.3561, allocations: 206.3 kB / 465.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/0.3564, allocations: 238.8 kB / 465.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3566, allocations: 361.9 kB / 466.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007394/0.3573, allocations: 462.3 kB / 466.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.3586, allocations: 1.119 MB / 467.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.3606, allocations: 1.619 MB / 469.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/0.3606, allocations: 8 kB / 469.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002886/0.3635, allocations: 1.668 MB / 471.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.3636, allocations: 16.11 kB / 471.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3636, allocations: 27.94 kB / 471.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007488/0.3643, allocations: 180.8 kB / 471.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.3652, allocations: 283.5 kB / 471.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.3678, allocations: 2.216 MB / 473.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.3687, allocations: 87.89 kB / 474 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/0.3688, allocations: 71.92 kB / 474 MB, free: 10.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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.001099/0.3699, allocations: 0.704 MB / 474.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.3702, allocations: 123.2 kB / 474.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3717, allocations: 0.832 MB / 475.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.3717, allocations: 8 kB / 475.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3717, allocations: 0 / 475.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3717, allocations: 0 / 475.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.3754, allocations: 2.078 MB / 477.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3754, allocations: 12 kB / 477.8 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.3758, allocations: 95.88 kB / 477.9 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006363/0.3765, allocations: 156.8 kB / 478 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.3765, allocations: 16 kB / 478.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3789, allocations: 2.153 MB / 480.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3789, allocations: 7.969 kB / 480.2 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.3809, allocations: 1.302 MB / 481.5 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.3815, allocations: 195.2 kB / 481.7 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3816, allocations: 12 kB / 481.7 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.3822, allocations: 51.97 kB / 481.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3823, allocations: 47.91 kB / 481.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.3823, allocations: 20 kB / 481.8 MB, free: 2.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001294/0.3836, allocations: 0.8911 MB / 482.7 MB, free: 1.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3836, allocations: 4 kB / 482.7 MB, free: 1.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001308/0.3849, allocations: 343.9 kB / 483.1 MB, free: 1.586 MB / 382.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.0004455/0.3854, allocations: 207.1 kB / 483.3 MB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.3873, allocations: 1.12 MB / 484.4 MB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3873, allocations: 0 / 484.4 MB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008487/0.3882, allocations: 0.5045 MB / 484.9 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.3895, allocations: 260.2 kB / 485.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.3951, allocations: 3.216 MB / 488.4 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/0.3964, allocations: 1.082 MB / 489.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.3967, allocations: 87.42 kB / 489.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3967, allocations: 0 / 489.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of Templates: time 0.04503/0.4418, allocations: 31.33 MB / 0.5086 GB, free: 11.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.122454602271318]