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.0008559/0.0008559, 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.003458/0.003458, allocations: 157 kB / 24.7 MB, free: 9.434 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.8764/0.8764, allocations: 177 MB / 204.9 MB, free: 5.754 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.2561/0.2561, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.534e-05, allocations: 6.219 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.1983/0.1983, allocations: 19.55 MB / 463 MB, free: 32.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009089/0.2074, allocations: 5.393 MB / 468.4 MB, free: 28.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.2099, allocations: 237.5 kB / 468.6 MB, free: 28.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007068/0.2169, allocations: 9.359 MB / 478 MB, free: 23.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.2217, allocations: 2.243 MB / 480.2 MB, free: 21.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.2241, allocations: 1.884 MB / 482.1 MB, free: 20.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008573/0.2327, allocations: 15.01 MB / 497.1 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02436/0.257, allocations: 21.17 MB / 0.5061 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01815/0.2752, allocations: 11.92 MB / 0.5178 GB, free: 8.922 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/0.2865, allocations: 7.873 MB / 0.5255 GB, free: 1.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003107/0.2896, allocations: 2.098 MB / 0.5275 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.2929, allocations: 2.351 MB / 0.5298 GB, free: 13.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.2953, allocations: 4.414 MB / 0.5341 GB, free: 8.805 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00571/0.301, allocations: 5.669 MB / 0.5396 GB, free: 3.125 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02063/0.3216, allocations: 29.09 MB / 0.5681 GB, free: 5.953 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3216, allocations: 0 / 0.5681 GB, free: 5.953 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3216, allocations: 0 / 0.5681 GB, free: 5.953 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006945/0.3223, allocations: 4 kB / 0.5681 GB, free: 5.949 MB / 474.7 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.03522/0.3575, allocations: 18.79 MB / 0.5864 GB, free: 3.055 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3576, allocations: 8.031 kB / 0.5864 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/0.3878, allocations: 11.49 MB / 0.5976 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/0.4082, allocations: 9.047 MB / 0.6065 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008191/0.409, allocations: 1.061 MB / 0.6075 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005844/0.4148, allocations: 1.367 MB / 0.6088 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04213/0.4569, allocations: 23.93 MB / 0.6322 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003179/0.4573, allocations: 19.91 kB / 0.6322 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002279/0.4595, allocations: 0.5703 MB / 0.6328 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000457/0.46, allocations: 0.7056 MB / 0.6335 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4171/0.8771, allocations: 21.65 MB / 0.6546 GB, free: 121.2 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09478/0.9719, allocations: 61.16 MB / 0.7144 GB, free: 89.36 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.983, allocations: 11.34 MB / 0.7254 GB, free: 84.43 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004588/0.9875, allocations: 4.496 MB / 0.7298 GB, free: 79.91 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01701/1.005, allocations: 14.31 MB / 0.7438 GB, free: 65.87 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.005, allocations: 86.05 kB / 0.7439 GB, free: 65.78 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 7.254e-06/1.005, allocations: 0 / 0.7439 GB, free: 65.78 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.02022/1.025, allocations: 15.43 MB / 0.7589 GB, free: 50.32 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.025, allocations: 124.6 kB / 0.7591 GB, free: 50.18 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/1.03, allocations: 4.985 MB / 0.7639 GB, free: 45.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006835/1.031, allocations: 105.6 kB / 0.764 GB, free: 45.21 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.033, allocations: 6.086 MB / 0.77 GB, free: 39.62 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.034, allocations: 1.637 MB / 0.7716 GB, free: 38.01 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/1.036, allocations: 1.548 MB / 0.7731 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.87e-05/1.036, allocations: 305.1 kB / 0.7734 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/1.04, allocations: 4.148 MB / 0.7774 GB, free: 32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/1.045, allocations: 7.266 MB / 0.7845 GB, free: 23.29 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.055, allocations: 11.96 MB / 0.7962 GB, free: 9.863 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.055, allocations: 28 kB / 0.7962 GB, free: 9.836 MB / 0.5262 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01686/1.072, allocations: 13.06 MB / 0.809 GB, free: 12.75 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/1.072, allocations: 52 kB / 0.809 GB, free: 12.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.072, allocations: 104 kB / 0.8091 GB, free: 12.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004253/1.076, allocations: 3.093 MB / 0.8121 GB, free: 9.496 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/1.08, allocations: 1.599 MB / 0.8137 GB, free: 7.895 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005408/1.081, allocations: 335.1 kB / 0.814 GB, free: 7.555 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.086, allocations: 1.052 MB / 0.8151 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.087, allocations: 388 kB / 0.8154 GB, free: 6.117 MB / 0.5418 GB 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.00892/1.096, allocations: 5.386 MB / 0.8207 GB, free: 0.7148 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.097, allocations: 0.5084 MB / 0.8212 GB, free: 208 kB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.109, allocations: 9.532 MB / 0.8305 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-05/1.109, allocations: 44 kB / 0.8305 GB, free: 6.594 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.109, allocations: 0 / 0.8305 GB, free: 6.594 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.962e-05/1.109, allocations: 31.84 kB / 0.8306 GB, free: 6.562 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03228/1.141, allocations: 17.98 MB / 0.8481 GB, free: 4.625 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.141, allocations: 0 / 0.8481 GB, free: 4.625 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.143, allocations: 0.741 MB / 0.8488 GB, free: 3.883 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004388/1.148, allocations: 2.964 MB / 0.8517 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007046/1.149, allocations: 108 kB / 0.8518 GB, free: 0.8008 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/1.149, allocations: 146.4 kB / 0.852 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.149, allocations: 4 kB / 0.852 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2517/1.401, allocations: 14.17 MB / 0.8658 GB, free: 162.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/1.404, allocations: 1.335 MB / 0.8671 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000937/1.405, allocations: 78.59 kB / 0.8672 GB, free: 161.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.407, allocations: 363 kB / 0.8675 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/1.407, allocations: 338 kB / 0.8679 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.408, allocations: 135.6 kB / 0.868 GB, free: 161.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004759/1.412, allocations: 3.206 MB / 0.8711 GB, free: 160.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.412, allocations: 0 / 0.8711 GB, free: 160.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009433/1.422, allocations: 3.259 MB / 0.8743 GB, free: 160 MB / 0.573 GB 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.0009132/1.423, allocations: 253.8 kB / 0.8746 GB, free: 159.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.436, allocations: 9.513 MB / 0.8838 GB, free: 156.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.436, allocations: 1.375 kB / 0.8838 GB, free: 156.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006822/1.442, allocations: 4.115 MB / 0.8879 GB, free: 155.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/1.448, allocations: 1.275 MB / 0.8891 GB, free: 154.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04673/1.495, allocations: 24 MB / 0.9125 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/1.509, allocations: 8.344 MB / 0.9207 GB, free: 141.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.51, allocations: 464.9 kB / 0.9211 GB, free: 141.3 MB / 0.573 GB Notification: Performance of SimCode: time 2.164e-06/1.51, allocations: 0 / 0.9211 GB, free: 141.3 MB / 0.573 GB Notification: Performance of Templates: time 0.8199/2.33, allocations: 389.4 MB / 1.301 GB, free: 173.9 MB / 0.6043 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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: 16.048235307447612]