Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001123/0.001123, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003891/0.003891, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8863/0.8863, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.95e-05, allocations: 6.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01261/0.01264, allocations: 12.01 MB / 337.8 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0082/0.02084, allocations: 3.71 MB / 341.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.02356, allocations: 119.4 kB / 341.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007773/0.03133, allocations: 5.483 MB / 347.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.03546, allocations: 1.432 MB / 348.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.03755, allocations: 1.18 MB / 349.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006137/0.04369, allocations: 6.685 MB / 356.4 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.05502, allocations: 9.076 MB / 365.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006214/0.06123, allocations: 4.938 MB / 370.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004682/0.06591, allocations: 3.353 MB / 373.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00203/0.06794, allocations: 0.8867 MB / 374.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.07098, allocations: 1.078 MB / 375.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002178/0.07316, allocations: 1.811 MB / 377.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005476/0.07863, allocations: 2.39 MB / 379.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.09209, allocations: 12.12 MB / 392.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.0921, allocations: 0 / 392.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.0921, allocations: 0 / 392.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004834/0.09258, allocations: 0 / 392.1 MB, free: 12.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01917/0.1118, allocations: 7.783 MB / 399.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.1118, allocations: 11.98 kB / 399.9 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.122, allocations: 2.869 MB / 402.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0066/0.1286, allocations: 3.752 MB / 406.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.1289, allocations: 489 kB / 407 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/0.1309, allocations: 0.621 MB / 407.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.1493, allocations: 9.488 MB / 417.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.1495, allocations: 7.953 kB / 417.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000792/0.1502, allocations: 264 kB / 417.3 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.1505, allocations: 317.4 kB / 417.6 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.1624, allocations: 7.942 MB / 425.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03304/0.1954, allocations: 24.1 MB / 449.7 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1748/0.3702, allocations: 3.911 MB / 453.6 MB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3721, allocations: 1.45 MB / 455 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.3722, allocations: 70.66 kB / 455.1 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3723, allocations: 60.31 kB / 455.2 MB, free: 107.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 5.029e-06/0.3723, allocations: 0 / 455.2 MB, free: 107.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.004423/0.3767, allocations: 4.024 MB / 459.2 MB, free: 106 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.3767, allocations: 102.7 kB / 459.3 MB, free: 105.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.3783, allocations: 1.961 MB / 461.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/0.3784, allocations: 65.52 kB / 461.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.3791, allocations: 2.626 MB / 463.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.3794, allocations: 0.8457 MB / 464.8 MB, free: 103.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.3799, allocations: 0.6619 MB / 465.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.758e-05/0.38, allocations: 305.1 kB / 465.8 MB, free: 102.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3811, allocations: 1.412 MB / 467.2 MB, free: 102.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3824, allocations: 2.603 MB / 469.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.3851, allocations: 4.241 MB / 474 MB, free: 96.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.3851, allocations: 12 kB / 474 MB, free: 96.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003699/0.3888, allocations: 4.524 MB / 478.5 MB, free: 92.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.3888, allocations: 27.84 kB / 478.6 MB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3889, allocations: 36 kB / 478.6 MB, free: 92.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/0.3893, allocations: 319 kB / 478.9 MB, free: 91.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.3905, allocations: 0.7768 MB / 479.7 MB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.3934, allocations: 4.737 MB / 484.4 MB, free: 86.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.3947, allocations: 417.1 kB / 484.8 MB, free: 85.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.3948, allocations: 171.9 kB / 485 MB, free: 85.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00238/0.3972, allocations: 2.194 MB / 487.2 MB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.3974, allocations: 214.6 kB / 487.4 MB, free: 83.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.4002, allocations: 3.171 MB / 490.6 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4002, allocations: 24 kB / 490.6 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4002, allocations: 7.984 kB / 490.6 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4002, allocations: 15.89 kB / 490.6 MB, free: 80.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.4103, allocations: 9.651 MB / 0.4886 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.4103, allocations: 12 kB / 0.4886 GB, free: 70.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/0.4112, allocations: 439.3 kB / 0.489 GB, free: 69.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.4117, allocations: 286.1 kB / 0.4893 GB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/0.4118, allocations: 67.98 kB / 0.4893 GB, free: 69.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/0.4149, allocations: 4.666 MB / 0.4939 GB, free: 64.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.4149, allocations: 19.94 kB / 0.4939 GB, free: 64.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.4193, allocations: 4.983 MB / 0.4988 GB, free: 59.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008199/0.4201, allocations: 491.2 kB / 0.4992 GB, free: 58.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.4203, allocations: 60 kB / 0.4993 GB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.4209, allocations: 119.9 kB / 0.4994 GB, free: 58.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.4212, allocations: 217.2 kB / 0.4996 GB, free: 58.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/0.4212, allocations: 93.23 kB / 0.4997 GB, free: 58.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.4224, allocations: 1.278 MB / 0.501 GB, free: 57.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4224, allocations: 0 / 0.501 GB, free: 57.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003107/0.4255, allocations: 1.459 MB / 0.5024 GB, free: 55.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000461/0.4259, allocations: 218.4 kB / 0.5026 GB, free: 55.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00383/0.4298, allocations: 3.503 MB / 0.506 GB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.4298, allocations: 4 kB / 0.506 GB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.4313, allocations: 1.593 MB / 0.5076 GB, free: 50.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.4331, allocations: 0.5144 MB / 0.5081 GB, free: 49.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.4457, allocations: 9.872 MB / 0.5177 GB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.448, allocations: 3.386 MB / 0.521 GB, free: 36.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/0.4488, allocations: 244.4 kB / 0.5212 GB, free: 36.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.4488, allocations: 0 / 0.5212 GB, free: 36.14 MB / 410.7 MB Notification: Performance of Templates: time 0.251/0.6998, allocations: 127.2 MB / 0.6455 GB, free: 146.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.50750348251313]