Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004365/0.004365, allocations: 166.7 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.165/1.165, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2933/0.2933, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.18e-05, allocations: 6.25 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02345/0.02348, allocations: 21.82 MB / 397.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.03806, allocations: 5.514 MB / 403.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006283/0.04435, allocations: 238.8 kB / 403.6 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.06164, allocations: 10.12 MB / 413.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009959/0.0716, allocations: 2.244 MB / 415.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.07798, allocations: 1.886 MB / 417.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02081/0.09879, allocations: 15.02 MB / 432.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3741/0.4729, allocations: 21.18 MB / 454 MB, free: 48.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02299/0.4959, allocations: 12.01 MB / 466 MB, free: 48.2 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01512/0.511, allocations: 8.717 MB / 474.7 MB, free: 47.88 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008231/0.5192, allocations: 2.097 MB / 476.8 MB, free: 47.88 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.5319, allocations: 2.359 MB / 479.2 MB, free: 47.83 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009477/0.5414, allocations: 4.483 MB / 483.7 MB, free: 45.62 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01487/0.5563, allocations: 5.75 MB / 489.4 MB, free: 43.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02177/0.578, allocations: 14.53 MB / 0.4921 GB, free: 37.7 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.578, allocations: 2.406 kB / 0.4921 GB, free: 37.7 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.394e-06/0.578, allocations: 0 / 0.4921 GB, free: 37.7 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001035/0.5791, allocations: 0.6094 kB / 0.4921 GB, free: 37.7 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05243/0.6315, allocations: 20.24 MB / 0.5119 GB, free: 28.31 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.785e-05/0.6316, allocations: 13.72 kB / 0.5119 GB, free: 28.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05695/0.6885, allocations: 13.82 MB / 0.5254 GB, free: 17.31 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0156/0.7041, allocations: 8.291 MB / 0.5335 GB, free: 9.34 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005403/0.7047, allocations: 1.059 MB / 0.5345 GB, free: 8.289 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/0.7073, allocations: 1.376 MB / 0.5359 GB, free: 6.926 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02835/0.7357, allocations: 12.75 MB / 0.5483 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/0.7359, allocations: 11.94 kB / 0.5484 GB, free: 10.01 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.7371, allocations: 0.5734 MB / 0.5489 GB, free: 9.445 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004955/0.7376, allocations: 0.7017 MB / 0.5496 GB, free: 8.742 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.7546, allocations: 6.763 MB / 0.5562 GB, free: 1.973 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/1.084, allocations: 55.88 MB / 0.6108 GB, free: 111.7 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/1.094, allocations: 8.502 MB / 0.6191 GB, free: 111.2 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003584/1.098, allocations: 1.816 MB / 0.6209 GB, free: 111.2 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02422/1.122, allocations: 9.056 MB / 0.6297 GB, free: 110.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/1.122, allocations: 86.97 kB / 0.6298 GB, free: 110.5 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 5.611e-06/1.122, allocations: 3.938 kB / 0.6298 GB, free: 110.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01671/1.139, allocations: 8.58 MB / 0.6382 GB, free: 110 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.139, allocations: 132.5 kB / 0.6383 GB, free: 109.9 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006875/1.146, allocations: 4.805 MB / 0.643 GB, free: 109.3 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003722/1.146, allocations: 99.95 kB / 0.6431 GB, free: 109.3 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003858/1.15, allocations: 6.449 MB / 0.6494 GB, free: 105.7 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.152, allocations: 1.74 MB / 0.6511 GB, free: 104.7 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/1.154, allocations: 1.771 MB / 0.6528 GB, free: 104.5 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/1.154, allocations: 478 kB / 0.6533 GB, free: 104.1 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/1.157, allocations: 1.177 MB / 0.6544 GB, free: 104 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/1.161, allocations: 5.909 MB / 0.6602 GB, free: 98.39 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007251/1.168, allocations: 7.718 MB / 0.6677 GB, free: 92.2 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.881e-05/1.168, allocations: 31.09 kB / 0.6677 GB, free: 92.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.011/1.179, allocations: 6.856 MB / 0.6744 GB, free: 90.98 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/1.179, allocations: 49.03 kB / 0.6745 GB, free: 90.98 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-05/1.179, allocations: 104.3 kB / 0.6746 GB, free: 90.98 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/1.183, allocations: 1.652 MB / 0.6762 GB, free: 90.84 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/1.186, allocations: 1.601 MB / 0.6778 GB, free: 90.71 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/1.187, allocations: 362 kB / 0.6781 GB, free: 90.63 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/1.19, allocations: 1.048 MB / 0.6791 GB, free: 90.13 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/1.191, allocations: 384.2 kB / 0.6795 GB, free: 90.07 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.003196/1.194, allocations: 0.6601 MB / 0.6801 GB, free: 89.52 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008152/1.195, allocations: 0.6449 MB / 0.6808 GB, free: 89.19 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00746/1.202, allocations: 4.498 MB / 0.6852 GB, free: 87.71 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/1.202, allocations: 51.16 kB / 0.6852 GB, free: 87.71 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.202, allocations: 0 / 0.6852 GB, free: 87.71 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/1.202, allocations: 26.03 kB / 0.6852 GB, free: 87.71 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.222, allocations: 14.21 MB / 0.6991 GB, free: 80.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.222, allocations: 0 / 0.6991 GB, free: 80.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.224, allocations: 0.7278 MB / 0.6998 GB, free: 79.51 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002415/1.226, allocations: 1.524 MB / 0.7013 GB, free: 78.29 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.226, allocations: 102.9 kB / 0.7014 GB, free: 78.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003139/1.227, allocations: 183.6 kB / 0.7016 GB, free: 78.05 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.227, allocations: 0 / 0.7016 GB, free: 78.05 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006958/1.234, allocations: 5.537 MB / 0.707 GB, free: 72.96 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.235, allocations: 1.177 MB / 0.7081 GB, free: 71.92 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/1.236, allocations: 83.83 kB / 0.7082 GB, free: 71.84 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.237, allocations: 363.2 kB / 0.7086 GB, free: 71.61 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/1.237, allocations: 346.6 kB / 0.7089 GB, free: 71.44 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/1.237, allocations: 135.5 kB / 0.709 GB, free: 71.31 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001952/1.239, allocations: 2.061 MB / 0.711 GB, free: 69.59 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.11e-07/1.239, allocations: 0 / 0.711 GB, free: 69.59 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00716/1.247, allocations: 3.254 MB / 0.7142 GB, free: 66.33 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007108/1.247, allocations: 261.2 kB / 0.7145 GB, free: 66.07 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0111/1.258, allocations: 5.08 MB / 0.7194 GB, free: 61.62 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.258, allocations: 8.25 kB / 0.7194 GB, free: 61.62 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00376/1.262, allocations: 2.296 MB / 0.7217 GB, free: 59.63 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/1.267, allocations: 1.343 MB / 0.723 GB, free: 58.54 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/1.299, allocations: 20.23 MB / 0.7427 GB, free: 38.64 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003866/1.302, allocations: 3.848 MB / 0.7465 GB, free: 34.76 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00431/1.307, allocations: 2.407 MB / 0.7489 GB, free: 32.35 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009957/1.308, allocations: 396.4 kB / 0.7492 GB, free: 31.96 MB / 474.8 MB Notification: Performance of SimCode: time 2.094e-06/1.308, allocations: 0 / 0.7492 GB, free: 31.96 MB / 474.8 MB Notification: Performance of Templates: time 0.2603/1.568, allocations: 81.77 MB / 0.8291 GB, free: 117.6 MB / 474.8 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.682133069029078]