Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.0008972/0.0008972, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00094/0.00094, allocations: 171.9 kB / 24.83 MB, free: 9.254 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.9424/0.9424, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.53e-05, allocations: 6.312 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01468/0.01471, allocations: 21.15 MB / 400.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.02588, allocations: 5.506 MB / 405.9 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008601/0.03448, allocations: 234.8 kB / 406.1 MB, free: 6.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01452/0.04899, allocations: 9.862 MB / 416 MB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00701/0.056, allocations: 2.24 MB / 418.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.05964, allocations: 1.869 MB / 420.1 MB, free: 8.812 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.07166, allocations: 15.02 MB / 435.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2971/0.3687, allocations: 21.18 MB / 456.3 MB, free: 48.08 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/0.3877, allocations: 12.03 MB / 468.3 MB, free: 48.08 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01143/0.3991, allocations: 8.802 MB / 477.1 MB, free: 47.34 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006611/0.4057, allocations: 2.097 MB / 479.2 MB, free: 47.34 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009136/0.4149, allocations: 2.357 MB / 481.6 MB, free: 47.29 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006873/0.4217, allocations: 4.486 MB / 486.1 MB, free: 45.08 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.4344, allocations: 5.741 MB / 491.8 MB, free: 42.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.4545, allocations: 14.52 MB / 0.4945 GB, free: 36.64 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4545, allocations: 7.234 kB / 0.4945 GB, free: 36.64 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4545, allocations: 0 / 0.4945 GB, free: 36.64 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0007494/0.4553, allocations: 0 / 0.4945 GB, free: 36.64 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.03642/0.4917, allocations: 19.43 MB / 0.5134 GB, free: 26.43 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4917, allocations: 12.03 kB / 0.5134 GB, free: 26.41 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/0.5222, allocations: 9.66 MB / 0.5229 GB, free: 18.61 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.5326, allocations: 7.486 MB / 0.5302 GB, free: 12.36 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/0.5329, allocations: 1.054 MB / 0.5312 GB, free: 11.31 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.5346, allocations: 1.381 MB / 0.5326 GB, free: 9.941 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.5481, allocations: 11.69 MB / 0.544 GB, free: 14.69 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.5482, allocations: 10.69 kB / 0.544 GB, free: 14.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009775/0.5492, allocations: 0.5792 MB / 0.5446 GB, free: 14.12 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004407/0.5496, allocations: 0.6978 MB / 0.5452 GB, free: 13.42 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007606/0.5573, allocations: 5.264 MB / 0.5504 GB, free: 8.145 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05864/0.6159, allocations: 54.62 MB / 0.6037 GB, free: 3.137 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1648/0.7807, allocations: 7.516 MB / 0.6111 GB, free: 93.79 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.783, allocations: 1.529 MB / 0.6126 GB, free: 93.71 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.795, allocations: 8.347 MB / 0.6207 GB, free: 93.1 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.7951, allocations: 91.09 kB / 0.6208 GB, free: 93.05 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 6.432e-06/0.7951, allocations: 2.094 kB / 0.6208 GB, free: 93.05 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01336/0.8085, allocations: 7.641 MB / 0.6283 GB, free: 92.58 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8085, allocations: 130.2 kB / 0.6284 GB, free: 92.48 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/0.8129, allocations: 4.715 MB / 0.633 GB, free: 92.09 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.8131, allocations: 96.14 kB / 0.6331 GB, free: 92.05 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/0.8155, allocations: 6.485 MB / 0.6394 GB, free: 88.6 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008897/0.8164, allocations: 1.753 MB / 0.6411 GB, free: 87.54 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.818, allocations: 1.789 MB / 0.6429 GB, free: 87.4 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.818, allocations: 486.2 kB / 0.6433 GB, free: 86.93 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.8192, allocations: 0.9001 MB / 0.6442 GB, free: 86.91 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.822, allocations: 5.665 MB / 0.6497 GB, free: 81.28 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005432/0.8275, allocations: 7.296 MB / 0.6569 GB, free: 75.51 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.027e-05/0.8275, allocations: 29.31 kB / 0.6569 GB, free: 75.51 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.007802/0.8353, allocations: 6.193 MB / 0.6629 GB, free: 74.98 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.8354, allocations: 51.72 kB / 0.663 GB, free: 74.98 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.356e-05/0.8355, allocations: 109.7 kB / 0.6631 GB, free: 74.98 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/0.8378, allocations: 1.598 MB / 0.6647 GB, free: 74.82 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.8402, allocations: 1.437 MB / 0.6661 GB, free: 74.82 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003283/0.8405, allocations: 361.9 kB / 0.6664 GB, free: 74.78 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.8429, allocations: 0.8374 MB / 0.6672 GB, free: 74.32 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.8432, allocations: 327.3 kB / 0.6675 GB, free: 74.32 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.002704/0.846, allocations: 0.662 MB / 0.6682 GB, free: 74.09 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006118/0.8466, allocations: 0.6374 MB / 0.6688 GB, free: 73.82 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/0.8516, allocations: 3.978 MB / 0.6727 GB, free: 73.48 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.8516, allocations: 51 kB / 0.6727 GB, free: 73.47 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8516, allocations: 3.609 kB / 0.6727 GB, free: 73.47 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.8516, allocations: 22.73 kB / 0.6728 GB, free: 73.47 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.8642, allocations: 10.37 MB / 0.6829 GB, free: 70.98 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8642, allocations: 0 / 0.6829 GB, free: 70.98 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.8654, allocations: 0.5855 MB / 0.6835 GB, free: 70.96 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.8676, allocations: 1.46 MB / 0.6849 GB, free: 70.65 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/0.8679, allocations: 105.2 kB / 0.685 GB, free: 70.59 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002807/0.8681, allocations: 163.4 kB / 0.6851 GB, free: 70.54 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8681, allocations: 7.781 kB / 0.6852 GB, free: 70.53 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00527/0.8734, allocations: 4.821 MB / 0.6899 GB, free: 69.09 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.8747, allocations: 1.04 MB / 0.6909 GB, free: 68.46 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.8751, allocations: 79.56 kB / 0.691 GB, free: 68.39 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8761, allocations: 149.3 kB / 0.6911 GB, free: 68.33 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.8764, allocations: 308.6 kB / 0.6914 GB, free: 68.28 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.8766, allocations: 106.3 kB / 0.6915 GB, free: 68.25 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001551/0.8781, allocations: 1.916 MB / 0.6934 GB, free: 67.76 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.8781, allocations: 0 / 0.6934 GB, free: 67.76 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005108/0.8833, allocations: 3.256 MB / 0.6965 GB, free: 65.83 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.0004291/0.8837, allocations: 259.4 kB / 0.6968 GB, free: 65.61 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.005188/0.8889, allocations: 4.555 MB / 0.7012 GB, free: 62.04 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8889, allocations: 0 / 0.7012 GB, free: 62.04 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.8911, allocations: 2.04 MB / 0.7032 GB, free: 60.4 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.8938, allocations: 1.346 MB / 0.7045 GB, free: 59.32 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.9149, allocations: 20.03 MB / 0.7241 GB, free: 41.18 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/0.9171, allocations: 3.844 MB / 0.7279 GB, free: 37.62 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002127/0.9193, allocations: 0.7735 MB / 0.7286 GB, free: 36.84 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/0.921, allocations: 1.255 MB / 0.7298 GB, free: 35.58 MB / 474.8 MB Notification: Performance of SimCode: time 8.12e-07/0.921, allocations: 0 / 0.7298 GB, free: 35.58 MB / 474.8 MB Notification: Performance of Templates: time 0.2282/1.149, allocations: 88.46 MB / 0.8162 GB, free: 128.5 MB / 0.4949 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.605486752931029]