Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.0009532/0.0009532, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001486/0.001486, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9028/0.9028, allocations: 177 MB / 205.9 MB, free: 4.457 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.1366/0.1366, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.871e-05, allocations: 5.047 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.005828/0.005846, allocations: 8.848 MB / 388.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.009552, allocations: 2.776 MB / 391.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000806/0.01036, allocations: 87.56 kB / 391.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.01354, allocations: 3.889 MB / 395.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.01544, allocations: 1.111 MB / 396.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.01639, allocations: 0.7641 MB / 397.5 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.01895, allocations: 5.057 MB / 402.5 MB, free: 132 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007357/0.0263, allocations: 7.71 MB / 410.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.03048, allocations: 4.232 MB / 414.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.03358, allocations: 3.135 MB / 417.6 MB, free: 0.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009099/0.03449, allocations: 0.7656 MB / 418.4 MB, free: 156 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.03571, allocations: 0.9331 MB / 419.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009884/0.03669, allocations: 1.656 MB / 421 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.0384, allocations: 2.031 MB / 423 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003731/0.04213, allocations: 5.22 MB / 428.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.04213, allocations: 4 kB / 428.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.04214, allocations: 3.938 kB / 428.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.04218, allocations: 0 / 428.2 MB, free: 6.281 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.007537/0.04972, allocations: 6.729 MB / 434.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.04975, allocations: 8.031 kB / 434.9 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009747/0.0595, allocations: 3.53 MB / 438.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.06212, allocations: 2.779 MB / 441.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.0623, allocations: 390.5 kB / 441.6 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/0.0628, allocations: 0.496 MB / 442.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/0.06738, allocations: 4.186 MB / 446.3 MB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.165e-05/0.06745, allocations: 4 kB / 446.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.06779, allocations: 212 kB / 446.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.06801, allocations: 339.1 kB / 446.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.07074, allocations: 2.006 MB / 448.9 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01756/0.08829, allocations: 19.42 MB / 468.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.09229, allocations: 2.802 MB / 471.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.09298, allocations: 0.6312 MB / 471.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.09308, allocations: 77.94 kB / 471.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.09312, allocations: 55.39 kB / 471.8 MB, free: 9.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=214): time 3.357e-06/0.09312, allocations: 0 / 471.8 MB, free: 9.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=214): time 0.001618/0.09474, allocations: 1.334 MB / 473.2 MB, free: 8.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.09478, allocations: 99.11 kB / 473.3 MB, free: 8.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.09626, allocations: 1.862 MB / 475.1 MB, free: 6.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.881e-05/0.09634, allocations: 61.7 kB / 475.2 MB, free: 6.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.09735, allocations: 2.439 MB / 477.6 MB, free: 4.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.09775, allocations: 0.8059 MB / 478.4 MB, free: 3.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/0.09844, allocations: 0.8118 MB / 479.3 MB, free: 2.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09854, allocations: 476.8 kB / 479.7 MB, free: 2.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.09899, allocations: 330.6 kB / 480 MB, free: 1.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.1005, allocations: 2.79 MB / 482.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.1029, allocations: 3.503 MB / 486.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.1029, allocations: 16 kB / 486.4 MB, free: 9.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002664/0.1056, allocations: 2.552 MB / 488.9 MB, free: 6.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.1056, allocations: 29.72 kB / 488.9 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.021e-05/0.1057, allocations: 56 kB / 489 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.538e-05/0.1057, allocations: 79.94 kB / 489.1 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.1072, allocations: 0.8664 MB / 489.9 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.323e-05/0.1073, allocations: 111.6 kB / 490 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.1084, allocations: 393.1 kB / 490.4 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.1085, allocations: 164 kB / 490.6 MB, free: 5.016 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007835/0.1093, allocations: 419 kB / 491 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.1096, allocations: 266.7 kB / 491.3 MB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.1114, allocations: 1.651 MB / 492.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1114, allocations: 27.94 kB / 492.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1114, allocations: 0 / 492.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.1114, allocations: 11.95 kB / 492.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1684/0.2798, allocations: 6.452 MB / 499.4 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.2798, allocations: 16.34 kB / 499.4 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.2812, allocations: 0.5181 MB / 499.9 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.989e-05/0.2812, allocations: 33.09 kB / 500 MB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.2813, allocations: 77.06 kB / 0.4883 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.099e-05/0.2813, allocations: 40.11 kB / 0.4884 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/0.2814, allocations: 24.72 kB / 0.4884 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.2841, allocations: 2.791 MB / 0.4911 GB, free: 89.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.2847, allocations: 417.3 kB / 0.4915 GB, free: 89.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.2849, allocations: 68.08 kB / 0.4916 GB, free: 89.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.2857, allocations: 65.09 kB / 0.4916 GB, free: 89.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.2859, allocations: 231.8 kB / 0.4919 GB, free: 89.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.286, allocations: 81.8 kB / 0.4919 GB, free: 89.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000944/0.287, allocations: 0.7815 MB / 0.4927 GB, free: 88.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.287, allocations: 0 / 0.4927 GB, free: 88.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003159/0.2902, allocations: 1.198 MB / 0.4939 GB, free: 88.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.2904, allocations: 224.6 kB / 0.4941 GB, free: 88.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.2927, allocations: 1.764 MB / 0.4958 GB, free: 88.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.2927, allocations: 3.5 kB / 0.4958 GB, free: 88.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008075/0.2935, allocations: 0.7491 MB / 0.4965 GB, free: 88.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.2953, allocations: 0.5065 MB / 0.497 GB, free: 88.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.303, allocations: 7.685 MB / 0.5045 GB, free: 85.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.3041, allocations: 1.429 MB / 0.5059 GB, free: 84.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.3052, allocations: 410.3 kB / 0.5063 GB, free: 84.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/0.3061, allocations: 0.5837 MB / 0.5069 GB, free: 84.61 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3061, allocations: 0 / 0.5069 GB, free: 84.61 MB / 410.7 MB Notification: Performance of Templates: time 0.04236/0.3485, allocations: 33.69 MB / 0.5398 GB, free: 54.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.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: 4.120458673220128]