Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.001492/0.001492, allocations: 91.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.0009963/0.0009963, 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.9226/0.9226, allocations: 177 MB / 204.8 MB, free: 5.559 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.2265/0.2265, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.249e-05, allocations: 4.844 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0139/0.01391, allocations: 19.09 MB / 397.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008031/0.02195, allocations: 4.962 MB / 402.8 MB, free: 9.938 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.02376, allocations: 191 kB / 403 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007899/0.03166, allocations: 8.331 MB / 411.3 MB, free: 1.383 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.03563, allocations: 2.14 MB / 413.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.03737, allocations: 1.401 MB / 414.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008237/0.04561, allocations: 12.61 MB / 427.5 MB, free: 1.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01458/0.06019, allocations: 16.8 MB / 444.3 MB, free: 160 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1477/0.2079, allocations: 9.822 MB / 454.1 MB, free: 55.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00732/0.2152, allocations: 7.244 MB / 461.4 MB, free: 55.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003175/0.2184, allocations: 1.72 MB / 463.1 MB, free: 55.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.2209, allocations: 1.921 MB / 465 MB, free: 55.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.2225, allocations: 3.798 MB / 468.8 MB, free: 54.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003723/0.2263, allocations: 4.774 MB / 473.6 MB, free: 52.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.2384, allocations: 11.99 MB / 485.6 MB, free: 48.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2384, allocations: 0.6562 kB / 485.6 MB, free: 48.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2385, allocations: 1.375 kB / 485.6 MB, free: 48.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006195/0.2391, allocations: 3.562 kB / 485.6 MB, free: 48.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.02627/0.2653, allocations: 15.83 MB / 0.4896 GB, free: 40.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2654, allocations: 11.16 kB / 0.4897 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03538/0.3008, allocations: 13.37 MB / 0.5027 GB, free: 38.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.3157, allocations: 6.823 MB / 0.5094 GB, free: 33.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/0.3162, allocations: 0.8882 MB / 0.5102 GB, free: 32.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005289/0.3215, allocations: 1.187 MB / 0.5114 GB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.342, allocations: 8.435 MB / 0.5196 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001845/0.3422, allocations: 19.89 kB / 0.5197 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008048/0.343, allocations: 496.6 kB / 0.5201 GB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003176/0.3434, allocations: 0.6499 MB / 0.5208 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.3539, allocations: 6.2 MB / 0.5268 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05448/0.4083, allocations: 46.63 MB / 0.5724 GB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/0.4168, allocations: 7.368 MB / 0.5795 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.4194, allocations: 1.58 MB / 0.5811 GB, free: 8.648 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.4197, allocations: 219.1 kB / 0.5813 GB, free: 8.434 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.316e-05/0.4198, allocations: 110.5 kB / 0.5814 GB, free: 8.312 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 7.665e-06/0.4198, allocations: 0 / 0.5814 GB, free: 8.312 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.007728/0.4275, allocations: 4.789 MB / 0.5861 GB, free: 3.441 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.4276, allocations: 120.5 kB / 0.5862 GB, free: 3.309 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004464/0.432, allocations: 3.559 MB / 0.5897 GB, free: 15.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/0.4324, allocations: 133.7 kB / 0.5898 GB, free: 15.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00302/0.4354, allocations: 4.983 MB / 0.5947 GB, free: 10.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001636/0.437, allocations: 2.38 MB / 0.597 GB, free: 8.246 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/0.4388, allocations: 1.652 MB / 0.5986 GB, free: 6.586 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4389, allocations: 480.7 kB / 0.5991 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.441, allocations: 1.053 MB / 0.6001 GB, free: 5.059 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1902/0.6313, allocations: 5.275 MB / 0.6052 GB, free: 98.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00714/0.6384, allocations: 7.106 MB / 0.6122 GB, free: 93.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-05/0.6385, allocations: 29.28 kB / 0.6122 GB, free: 93.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.008341/0.6468, allocations: 6.043 MB / 0.6181 GB, free: 93.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.6469, allocations: 42.91 kB / 0.6182 GB, free: 93.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.673e-05/0.6469, allocations: 91.53 kB / 0.6182 GB, free: 93.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.6477, allocations: 426.4 kB / 0.6186 GB, free: 93.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/0.6513, allocations: 2.009 MB / 0.6206 GB, free: 93.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.6542, allocations: 10.89 MB / 0.6312 GB, free: 82.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.6574, allocations: 1.015 MB / 0.6322 GB, free: 82.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/0.6578, allocations: 385.7 kB / 0.6326 GB, free: 82.72 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003014/0.6608, allocations: 0.6801 MB / 0.6333 GB, free: 82.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008127/0.6616, allocations: 0.6772 MB / 0.6339 GB, free: 82.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006664/0.6683, allocations: 5.869 MB / 0.6397 GB, free: 81.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.6683, allocations: 71.94 kB / 0.6397 GB, free: 81.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.6683, allocations: 3.156 kB / 0.6397 GB, free: 81.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/0.6684, allocations: 32.67 kB / 0.6398 GB, free: 81.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04418/0.7125, allocations: 24.34 MB / 0.6635 GB, free: 76.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.872e-05/0.7126, allocations: 83.53 kB / 0.6636 GB, free: 76.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/0.7156, allocations: 1.551 MB / 0.6651 GB, free: 76.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007172/0.7163, allocations: 406.4 kB / 0.6655 GB, free: 76.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003644/0.7167, allocations: 254.4 kB / 0.6658 GB, free: 76.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/0.7196, allocations: 10.79 MB / 0.6763 GB, free: 65.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.736e-05/0.7196, allocations: 137.4 kB / 0.6764 GB, free: 65.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00948/0.7291, allocations: 10.61 MB / 0.6868 GB, free: 57.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/0.7311, allocations: 1.381 MB / 0.6881 GB, free: 57.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/0.7316, allocations: 239.6 kB / 0.6884 GB, free: 57.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.7337, allocations: 0.5446 MB / 0.6889 GB, free: 57.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007252/0.7344, allocations: 0.7681 MB / 0.6896 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000374/0.7348, allocations: 319.3 kB / 0.69 GB, free: 57.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0018/0.7366, allocations: 1.594 MB / 0.6915 GB, free: 56.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7366, allocations: 0 / 0.6915 GB, free: 56.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007077/0.7437, allocations: 2.943 MB / 0.6944 GB, free: 53.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006861/0.7444, allocations: 498.9 kB / 0.6949 GB, free: 53.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006562/0.7509, allocations: 5.631 MB / 0.7004 GB, free: 48.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.468e-05/0.751, allocations: 16 kB / 0.7004 GB, free: 48.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.7536, allocations: 3.279 MB / 0.7036 GB, free: 46.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/0.7575, allocations: 1.311 MB / 0.7049 GB, free: 44.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/0.7808, allocations: 21.01 MB / 0.7254 GB, free: 24.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/0.7834, allocations: 3.407 MB / 0.7287 GB, free: 21.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004067/0.7875, allocations: 2.647 MB / 0.7313 GB, free: 20.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.7886, allocations: 0.5215 MB / 0.7318 GB, free: 19.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/0.7886, allocations: 0 / 0.7318 GB, free: 19.61 MB / 474.7 MB Notification: Performance of Templates: time 0.2308/1.019, allocations: 80.37 MB / 0.8103 GB, free: 127.5 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.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: 5.949269988108426]