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.001391/0.001391, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001632/0.001632, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.9559/0.9559, allocations: 177 MB / 205.2 MB, free: 5.594 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.2509/0.2509, allocations: 34.87 MB / 296.6 MB, free: 0.5391 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 2.104e-06/2.104e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.138e-05, allocations: 3.156 kB / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02056/0.02059, allocations: 21.81 MB / 400.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009773/0.03036, allocations: 5.517 MB / 406.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003809/0.03417, allocations: 234.8 kB / 406.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01127/0.04544, allocations: 10.12 MB / 416.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00695/0.05239, allocations: 2.24 MB / 418.7 MB, free: 10.33 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.05603, allocations: 1.89 MB / 420.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0125/0.06852, allocations: 15.02 MB / 435.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2783/0.3468, allocations: 21.18 MB / 456.8 MB, free: 47.42 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01606/0.3629, allocations: 12.02 MB / 468.8 MB, free: 47.42 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.3747, allocations: 8.718 MB / 477.5 MB, free: 46.33 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005881/0.3806, allocations: 2.099 MB / 479.6 MB, free: 46.33 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007617/0.3882, allocations: 2.356 MB / 481.9 MB, free: 46.28 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006602/0.3948, allocations: 4.491 MB / 486.4 MB, free: 44.07 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.4058, allocations: 5.745 MB / 492.2 MB, free: 41.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.4219, allocations: 14.53 MB / 0.4948 GB, free: 35.62 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4219, allocations: 0.6562 kB / 0.4948 GB, free: 35.62 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4219, allocations: 0 / 0.4948 GB, free: 35.62 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0007836/0.4227, allocations: 3.859 kB / 0.4948 GB, free: 35.62 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.04432/0.467, allocations: 20.24 MB / 0.5146 GB, free: 25.21 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.467, allocations: 8.031 kB / 0.5146 GB, free: 25.2 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0455/0.5125, allocations: 13.82 MB / 0.5281 GB, free: 13.68 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.5248, allocations: 8.285 MB / 0.5362 GB, free: 5.715 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000684/0.5255, allocations: 1.057 MB / 0.5372 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003812/0.5293, allocations: 1.379 MB / 0.5386 GB, free: 3.301 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03215/0.5614, allocations: 12.75 MB / 0.551 GB, free: 6.395 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003801/0.5618, allocations: 11.94 kB / 0.551 GB, free: 6.383 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/0.5643, allocations: 0.5787 MB / 0.5516 GB, free: 5.816 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000516/0.5648, allocations: 0.6978 MB / 0.5523 GB, free: 5.117 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/0.5885, allocations: 6.77 MB / 0.5589 GB, free: 14.34 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2726/0.8611, allocations: 55.87 MB / 0.6135 GB, free: 108.5 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008859/0.87, allocations: 8.516 MB / 0.6218 GB, free: 108 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.8726, allocations: 1.815 MB / 0.6235 GB, free: 107.9 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/0.8852, allocations: 9.049 MB / 0.6324 GB, free: 107.3 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.8853, allocations: 85.5 kB / 0.6325 GB, free: 107.2 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 6.502e-06/0.8853, allocations: 3.938 kB / 0.6325 GB, free: 107.2 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01763/0.9029, allocations: 8.58 MB / 0.6408 GB, free: 106.6 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.903, allocations: 128 kB / 0.641 GB, free: 106.5 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006387/0.9094, allocations: 4.807 MB / 0.6457 GB, free: 105.8 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005915/0.91, allocations: 97.2 kB / 0.6458 GB, free: 105.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.9128, allocations: 6.46 MB / 0.6521 GB, free: 102.2 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/0.9141, allocations: 1.734 MB / 0.6538 GB, free: 101.2 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.9157, allocations: 1.772 MB / 0.6555 GB, free: 101 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.9157, allocations: 480.5 kB / 0.6559 GB, free: 100.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.9179, allocations: 1.172 MB / 0.6571 GB, free: 100.5 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004118/0.922, allocations: 5.906 MB / 0.6629 GB, free: 94.85 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/0.9279, allocations: 7.728 MB / 0.6704 GB, free: 88.65 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/0.9279, allocations: 30.41 kB / 0.6704 GB, free: 88.65 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.008542/0.9365, allocations: 6.853 MB / 0.6771 GB, free: 86.47 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.9365, allocations: 48.56 kB / 0.6772 GB, free: 86.47 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.678e-05/0.9366, allocations: 103.7 kB / 0.6773 GB, free: 86.47 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.9392, allocations: 1.653 MB / 0.6789 GB, free: 86.13 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.9418, allocations: 1.593 MB / 0.6804 GB, free: 85.96 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000363/0.9421, allocations: 372.2 kB / 0.6808 GB, free: 85.85 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.945, allocations: 1.049 MB / 0.6818 GB, free: 85.27 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/0.9453, allocations: 385 kB / 0.6822 GB, free: 85.21 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.002908/0.9482, allocations: 0.6586 MB / 0.6828 GB, free: 84.66 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006473/0.9488, allocations: 0.6435 MB / 0.6835 GB, free: 84.33 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.9546, allocations: 4.498 MB / 0.6879 GB, free: 82.86 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.9546, allocations: 51.12 kB / 0.6879 GB, free: 82.85 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.9547, allocations: 3.219 kB / 0.6879 GB, free: 82.85 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.9547, allocations: 22.69 kB / 0.6879 GB, free: 82.85 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.9708, allocations: 14.22 MB / 0.7018 GB, free: 74.34 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.9708, allocations: 0 / 0.7018 GB, free: 74.34 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.9722, allocations: 0.7254 MB / 0.7025 GB, free: 73.76 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.9746, allocations: 1.524 MB / 0.704 GB, free: 72.55 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.9748, allocations: 102.3 kB / 0.7041 GB, free: 72.46 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003829/0.9752, allocations: 174.7 kB / 0.7043 GB, free: 72.31 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9752, allocations: 15.64 kB / 0.7043 GB, free: 72.3 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009464/0.9847, allocations: 5.54 MB / 0.7097 GB, free: 67.21 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/0.9865, allocations: 1.175 MB / 0.7108 GB, free: 66.17 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/0.9871, allocations: 87.52 kB / 0.7109 GB, free: 66.09 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.9888, allocations: 353.4 kB / 0.7113 GB, free: 65.86 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/0.9895, allocations: 351.6 kB / 0.7116 GB, free: 65.68 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002663/0.9897, allocations: 138.8 kB / 0.7117 GB, free: 65.56 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002554/0.9923, allocations: 2.06 MB / 0.7137 GB, free: 63.84 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.9923, allocations: 0 / 0.7137 GB, free: 63.84 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005977/0.9983, allocations: 3.249 MB / 0.7169 GB, free: 60.58 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.0004708/0.9987, allocations: 270.3 kB / 0.7172 GB, free: 60.31 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00809/1.007, allocations: 5.074 MB / 0.7221 GB, free: 55.87 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.007, allocations: 0 / 0.7221 GB, free: 55.87 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003944/1.011, allocations: 2.293 MB / 0.7244 GB, free: 53.89 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.014, allocations: 1.345 MB / 0.7257 GB, free: 52.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.038, allocations: 20.22 MB / 0.7454 GB, free: 32.63 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/1.041, allocations: 3.844 MB / 0.7492 GB, free: 28.75 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003292/1.044, allocations: 2.411 MB / 0.7515 GB, free: 26.34 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006742/1.045, allocations: 400.4 kB / 0.7519 GB, free: 25.95 MB / 474.8 MB Notification: Performance of SimCode: time 1.333e-06/1.045, allocations: 0 / 0.7519 GB, free: 25.95 MB / 474.8 MB Notification: Performance of Templates: time 0.2211/1.266, allocations: 81.75 MB / 0.8318 GB, free: 107.4 MB / 474.8 MB " [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.101327281910926]