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.0009351/0.0009351, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.0009237/0.0009237, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9343/0.9343, allocations: 177 MB / 204.8 MB, free: 4.773 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.2903/0.2903, allocations: 34.86 MB / 296.3 MB, free: 472 kB / 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 2.104e-06/2.104e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.571e-05, allocations: 6.25 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01772/0.01775, allocations: 21.95 MB / 400.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.02884, allocations: 5.517 MB / 406.2 MB, free: 6.539 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/0.03319, allocations: 234.8 kB / 406.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.04457, allocations: 10.16 MB / 416.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.05236, allocations: 2.244 MB / 418.9 MB, free: 9.852 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.05679, allocations: 1.889 MB / 420.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.07018, allocations: 15.02 MB / 435.8 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3221/0.3923, allocations: 21.18 MB / 456.9 MB, free: 47.06 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02024/0.4125, allocations: 12.02 MB / 469 MB, free: 47.06 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01391/0.4265, allocations: 8.756 MB / 477.7 MB, free: 45.97 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007227/0.4337, allocations: 2.101 MB / 479.8 MB, free: 45.97 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009625/0.4433, allocations: 2.356 MB / 482.2 MB, free: 45.92 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008679/0.452, allocations: 4.485 MB / 486.7 MB, free: 43.71 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01317/0.4652, allocations: 5.746 MB / 492.4 MB, free: 41.32 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.485, allocations: 14.54 MB / 0.4951 GB, free: 35.26 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.485, allocations: 0 / 0.4951 GB, free: 35.26 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.465e-06/0.485, allocations: 0 / 0.4951 GB, free: 35.26 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009748/0.486, allocations: 0 / 0.4951 GB, free: 35.26 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.04562/0.5316, allocations: 20.24 MB / 0.5148 GB, free: 24.72 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5316, allocations: 16.03 kB / 0.5148 GB, free: 24.71 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03754/0.5692, allocations: 13.82 MB / 0.5283 GB, free: 13.18 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.5854, allocations: 8.295 MB / 0.5364 GB, free: 5.199 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008959/0.5863, allocations: 1.06 MB / 0.5375 GB, free: 4.148 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005816/0.5921, allocations: 1.376 MB / 0.5388 GB, free: 2.785 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04049/0.6326, allocations: 12.75 MB / 0.5513 GB, free: 5.883 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/0.633, allocations: 12.61 kB / 0.5513 GB, free: 5.871 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003175/0.6362, allocations: 0.5737 MB / 0.5518 GB, free: 5.309 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005695/0.6368, allocations: 0.6978 MB / 0.5525 GB, free: 4.609 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.6614, allocations: 6.774 MB / 0.5591 GB, free: 13.83 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2905/0.9519, allocations: 55.88 MB / 0.6137 GB, free: 77.3 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009887/0.9618, allocations: 8.506 MB / 0.622 GB, free: 76.83 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/0.9648, allocations: 1.815 MB / 0.6238 GB, free: 76.75 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.9792, allocations: 9.062 MB / 0.6326 GB, free: 76.15 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.9793, allocations: 90.34 kB / 0.6327 GB, free: 76.1 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 6.452e-06/0.9793, allocations: 2.844 kB / 0.6327 GB, free: 76.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01821/0.9975, allocations: 8.581 MB / 0.6411 GB, free: 75.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.9976, allocations: 127.7 kB / 0.6412 GB, free: 75.4 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006938/1.005, allocations: 4.801 MB / 0.6459 GB, free: 74.84 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007663/1.005, allocations: 100.2 kB / 0.646 GB, free: 74.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/1.009, allocations: 6.46 MB / 0.6523 GB, free: 71.25 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.01, allocations: 1.74 MB / 0.654 GB, free: 70.19 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/1.012, allocations: 1.764 MB / 0.6557 GB, free: 70.05 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/1.012, allocations: 480.7 kB / 0.6562 GB, free: 69.58 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.014, allocations: 1.174 MB / 0.6573 GB, free: 69.56 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/1.017, allocations: 5.91 MB / 0.6631 GB, free: 63.93 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/1.023, allocations: 7.728 MB / 0.6707 GB, free: 58.15 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.023, allocations: 29.81 kB / 0.6707 GB, free: 58.15 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01094/1.034, allocations: 6.849 MB / 0.6774 GB, free: 57.63 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/1.034, allocations: 50.44 kB / 0.6774 GB, free: 57.63 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/1.034, allocations: 106.8 kB / 0.6775 GB, free: 57.63 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/1.037, allocations: 1.65 MB / 0.6791 GB, free: 57.48 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/1.041, allocations: 1.588 MB / 0.6807 GB, free: 57.48 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004483/1.041, allocations: 371.1 kB / 0.681 GB, free: 57.44 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/1.045, allocations: 1.04 MB / 0.682 GB, free: 56.99 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008443/1.046, allocations: 385 kB / 0.6824 GB, free: 56.99 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.00388/1.05, allocations: 0.6686 MB / 0.6831 GB, free: 56.75 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.051, allocations: 0.6444 MB / 0.6837 GB, free: 56.47 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/1.057, allocations: 4.495 MB / 0.6881 GB, free: 56.13 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/1.057, allocations: 48.72 kB / 0.6881 GB, free: 56.13 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.057, allocations: 1.75 kB / 0.6881 GB, free: 56.13 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/1.057, allocations: 24.94 kB / 0.6882 GB, free: 56.13 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.081, allocations: 14.22 MB / 0.702 GB, free: 52.18 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.081, allocations: 4 kB / 0.7021 GB, free: 52.17 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.082, allocations: 0.7282 MB / 0.7028 GB, free: 51.74 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/1.085, allocations: 1.521 MB / 0.7042 GB, free: 50.53 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/1.085, allocations: 106.7 kB / 0.7044 GB, free: 50.44 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003155/1.085, allocations: 180.8 kB / 0.7045 GB, free: 50.28 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.085, allocations: 0 / 0.7045 GB, free: 50.28 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007362/1.093, allocations: 5.547 MB / 0.7099 GB, free: 45.21 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/1.095, allocations: 1.173 MB / 0.7111 GB, free: 44.18 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.096, allocations: 76 kB / 0.7112 GB, free: 44.11 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.097, allocations: 364.8 kB / 0.7115 GB, free: 43.87 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/1.097, allocations: 346.8 kB / 0.7118 GB, free: 43.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.098, allocations: 135.3 kB / 0.712 GB, free: 43.58 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00265/1.1, allocations: 2.065 MB / 0.714 GB, free: 41.85 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.1, allocations: 0 / 0.714 GB, free: 41.85 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006709/1.107, allocations: 3.257 MB / 0.7172 GB, free: 38.59 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.0008909/1.108, allocations: 250.9 kB / 0.7174 GB, free: 38.37 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00892/1.117, allocations: 5.076 MB / 0.7224 GB, free: 34.23 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.301e-06/1.117, allocations: 4 kB / 0.7224 GB, free: 34.22 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005199/1.122, allocations: 2.293 MB / 0.7246 GB, free: 32.31 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/1.127, allocations: 1.345 MB / 0.7259 GB, free: 31.23 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/1.155, allocations: 20.24 MB / 0.7457 GB, free: 11.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003713/1.158, allocations: 3.851 MB / 0.7494 GB, free: 7.367 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003938/1.162, allocations: 2.411 MB / 0.7518 GB, free: 4.949 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/1.163, allocations: 396.4 kB / 0.7522 GB, free: 4.562 MB / 474.8 MB Notification: Performance of SimCode: time 1.903e-06/1.163, allocations: 0 / 0.7522 GB, free: 4.562 MB / 474.8 MB Notification: Performance of Templates: time 0.259/1.422, allocations: 81.75 MB / 0.832 GB, free: 116.3 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: 6.250631104689091]