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.0009518/0.0009518, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.0009962/0.0009962, allocations: 160.5 kB / 24.56 MB, free: 12 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.9452/0.9452, allocations: 177 MB / 204.8 MB, free: 5.598 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.2616/0.2616, allocations: 34.86 MB / 296.3 MB, free: 480 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.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.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.779e-05, allocations: 4.844 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.00775/0.007778, allocations: 9.155 MB / 387.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.01267, allocations: 2.78 MB / 390.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.01393, allocations: 87.56 kB / 390.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004281/0.01821, allocations: 4.01 MB / 394.8 MB, free: 1.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.02115, allocations: 1.107 MB / 395.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.02244, allocations: 0.7755 MB / 396.7 MB, free: 84 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.02645, allocations: 5.049 MB / 401.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007745/0.0342, allocations: 7.719 MB / 409.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/0.03921, allocations: 4.236 MB / 413.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003829/0.04304, allocations: 3.111 MB / 416.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.04445, allocations: 0.7656 MB / 417.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.04639, allocations: 0.9293 MB / 418.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.04771, allocations: 1.66 MB / 420.1 MB, free: 8.449 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.05074, allocations: 2.039 MB / 422.2 MB, free: 6.406 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.05584, allocations: 5.216 MB / 427.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.05584, allocations: 0 / 427.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.05584, allocations: 0 / 427.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001576/0.056, allocations: 0 / 427.4 MB, free: 1.176 MB / 394.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.01038/0.06638, allocations: 6.843 MB / 434.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.06643, allocations: 15.95 kB / 434.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.07924, allocations: 4.727 MB / 439 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.08412, allocations: 3.01 MB / 442 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.08452, allocations: 394.5 kB / 442.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.08558, allocations: 0.4999 MB / 442.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1767/0.2623, allocations: 4.559 MB / 447.4 MB, free: 79.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.2624, allocations: 2.906 kB / 447.4 MB, free: 79.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/0.2628, allocations: 210.4 kB / 447.6 MB, free: 79.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/0.263, allocations: 343.8 kB / 448 MB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005112/0.2682, allocations: 2.532 MB / 450.5 MB, free: 79.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.2884, allocations: 19.84 MB / 470.4 MB, free: 70.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/0.2937, allocations: 3.969 MB / 474.3 MB, free: 69.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009703/0.2947, allocations: 0.7126 MB / 475 MB, free: 69.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2948, allocations: 69.97 kB / 475.1 MB, free: 69.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.2949, allocations: 64.98 kB / 475.2 MB, free: 69.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 5.992e-06/0.2949, allocations: 4.797 kB / 475.2 MB, free: 69.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.002275/0.2971, allocations: 1.518 MB / 476.7 MB, free: 68.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.2972, allocations: 101 kB / 476.8 MB, free: 68.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.2992, allocations: 1.879 MB / 478.7 MB, free: 68.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.2993, allocations: 61.52 kB / 478.7 MB, free: 67.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.3003, allocations: 2.431 MB / 481.2 MB, free: 66.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.3007, allocations: 0.799 MB / 482 MB, free: 65.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/0.3015, allocations: 0.7996 MB / 482.8 MB, free: 65.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.3015, allocations: 481 kB / 483.2 MB, free: 64.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/0.3023, allocations: 430 kB / 483.6 MB, free: 64.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.304, allocations: 2.864 MB / 486.5 MB, free: 61.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.3068, allocations: 3.64 MB / 490.2 MB, free: 58.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/0.3068, allocations: 19.16 kB / 490.2 MB, free: 58.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004006/0.3108, allocations: 2.771 MB / 492.9 MB, free: 57.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.3109, allocations: 30.5 kB / 493 MB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.544e-05/0.3109, allocations: 54.81 kB / 493 MB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.764e-05/0.311, allocations: 85.48 kB / 493.1 MB, free: 57.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.3127, allocations: 0.9097 MB / 494 MB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-05/0.3128, allocations: 111.1 kB / 494.1 MB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.3142, allocations: 476.2 kB / 494.6 MB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.3144, allocations: 194.1 kB / 494.8 MB, free: 57.21 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.001151/0.3155, allocations: 415.2 kB / 495.2 MB, free: 56.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3158, allocations: 271.9 kB / 495.5 MB, free: 56.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.3182, allocations: 1.799 MB / 497.3 MB, free: 56.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.3182, allocations: 27.19 kB / 497.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3182, allocations: 0.6562 kB / 497.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.3183, allocations: 11.11 kB / 497.3 MB, free: 56.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007841/0.3261, allocations: 6.693 MB / 0.4922 GB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.3261, allocations: 17.5 kB / 0.4922 GB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.3273, allocations: 0.5587 MB / 0.4927 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.907e-05/0.3273, allocations: 27.47 kB / 0.4928 GB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.3274, allocations: 77.28 kB / 0.4928 GB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.071e-05/0.3274, allocations: 37.67 kB / 0.4929 GB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/0.3275, allocations: 29.84 kB / 0.4929 GB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.3304, allocations: 3.007 MB / 0.4958 GB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.3311, allocations: 452.2 kB / 0.4963 GB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.3313, allocations: 72.8 kB / 0.4963 GB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.3319, allocations: 117.3 kB / 0.4964 GB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.3322, allocations: 230.6 kB / 0.4967 GB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/0.3322, allocations: 98.94 kB / 0.4968 GB, free: 50.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009622/0.3332, allocations: 0.8353 MB / 0.4976 GB, free: 50.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3332, allocations: 0 / 0.4976 GB, free: 50.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002877/0.3361, allocations: 1.196 MB / 0.4987 GB, free: 48.84 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.0003492/0.3364, allocations: 234.8 kB / 0.499 GB, free: 48.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.3392, allocations: 1.914 MB / 0.5008 GB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3392, allocations: 8.062 kB / 0.5008 GB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.34, allocations: 0.8138 MB / 0.5016 GB, free: 46.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.3416, allocations: 0.5127 MB / 0.5021 GB, free: 46.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009108/0.3507, allocations: 7.767 MB / 0.5097 GB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/0.3516, allocations: 1.426 MB / 0.5111 GB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001851/0.3535, allocations: 1.179 MB / 0.5123 GB, free: 36.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.3539, allocations: 232 kB / 0.5125 GB, free: 36.68 MB / 410.7 MB Notification: Performance of SimCode: time 5.49e-06/0.3539, allocations: 0 / 0.5125 GB, free: 36.68 MB / 410.7 MB Notification: Performance of Templates: time 0.03394/0.3878, allocations: 30.38 MB / 0.5422 GB, free: 7.895 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: 3.9571491898968816]