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.001867/0.001867, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002076/0.002076, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.73/1.73, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3674/0.3674, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..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.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.22e-05, allocations: 2.312 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02713/0.02716, allocations: 18.95 MB / 396.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.04128, allocations: 4.95 MB / 401.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006068/0.04735, allocations: 195 kB / 401.3 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02252/0.06987, allocations: 8.292 MB / 409.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.08009, allocations: 2.144 MB / 411.7 MB, free: 244 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005655/0.08575, allocations: 1.395 MB / 413.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02098/0.1067, allocations: 12.61 MB / 425.7 MB, free: 2.172 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03922/0.1459, allocations: 16.79 MB / 442.5 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2448/0.3908, allocations: 9.826 MB / 452.4 MB, free: 55.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01933/0.4101, allocations: 7.187 MB / 459.5 MB, free: 55.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01007/0.4202, allocations: 1.72 MB / 461.3 MB, free: 55.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.4329, allocations: 1.918 MB / 463.2 MB, free: 55.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008785/0.4417, allocations: 3.799 MB / 467 MB, free: 55.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0119/0.4536, allocations: 4.77 MB / 471.8 MB, free: 53.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0302/0.4838, allocations: 24.04 MB / 495.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4838, allocations: 0 / 495.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4838, allocations: 3.562 kB / 495.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009516/0.4847, allocations: 0 / 495.8 MB, free: 46.59 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.04994/0.5347, allocations: 16.8 MB / 0.5006 GB, free: 36.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.5347, allocations: 7.062 kB / 0.5006 GB, free: 36.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06178/0.5965, allocations: 13.37 MB / 0.5136 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/0.6139, allocations: 6.855 MB / 0.5203 GB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007438/0.6146, allocations: 0.8835 MB / 0.5212 GB, free: 21.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/0.6199, allocations: 1.184 MB / 0.5224 GB, free: 20.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0452/0.6651, allocations: 17.24 MB / 0.5392 GB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005168/0.6656, allocations: 15.91 kB / 0.5392 GB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004544/0.6702, allocations: 494.9 kB / 0.5397 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005449/0.6707, allocations: 0.6577 MB / 0.5403 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04944/0.7202, allocations: 17.01 MB / 0.5569 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3939/1.114, allocations: 72.74 MB / 0.628 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.131, allocations: 9.818 MB / 0.6375 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006038/1.137, allocations: 3.672 MB / 0.6411 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/1.138, allocations: 223.8 kB / 0.6413 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.116e-05/1.138, allocations: 107.1 kB / 0.6414 GB, free: 100.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=653): time 9.868e-06/1.138, allocations: 1.062 kB / 0.6414 GB, free: 100.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=653): time 0.01756/1.155, allocations: 10.17 MB / 0.6514 GB, free: 98.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/1.155, allocations: 123.1 kB / 0.6515 GB, free: 98.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00788/1.163, allocations: 5.338 MB / 0.6567 GB, free: 96.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001356/1.165, allocations: 135.8 kB / 0.6568 GB, free: 95.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003225/1.168, allocations: 5.198 MB / 0.6619 GB, free: 92.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002838/1.171, allocations: 2.475 MB / 0.6643 GB, free: 90.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002993/1.174, allocations: 1.849 MB / 0.6661 GB, free: 89.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/1.174, allocations: 476.8 kB / 0.6666 GB, free: 88.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005138/1.179, allocations: 3.436 MB / 0.6699 GB, free: 87.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008208/1.187, allocations: 7.856 MB / 0.6776 GB, free: 81.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/1.203, allocations: 12.23 MB / 0.6896 GB, free: 71.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002335/1.203, allocations: 25.66 kB / 0.6896 GB, free: 71.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02093/1.224, allocations: 10.9 MB / 0.7002 GB, free: 65.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.224, allocations: 47.72 kB / 0.7003 GB, free: 65.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/1.224, allocations: 87.81 kB / 0.7004 GB, free: 65.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/1.226, allocations: 0.5256 MB / 0.7009 GB, free: 65.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009162/1.235, allocations: 2.017 MB / 0.7028 GB, free: 65.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/1.241, allocations: 11.91 MB / 0.7145 GB, free: 53.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007901/1.249, allocations: 1.019 MB / 0.7155 GB, free: 52.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/1.251, allocations: 387.9 kB / 0.7158 GB, free: 52.28 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.01028/1.262, allocations: 4.202 MB / 0.7199 GB, free: 48.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/1.264, allocations: 0.6728 MB / 0.7206 GB, free: 47.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/1.279, allocations: 9.648 MB / 0.73 GB, free: 37.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/1.279, allocations: 71.98 kB / 0.7301 GB, free: 37.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.279, allocations: 0 / 0.7301 GB, free: 37.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-05/1.279, allocations: 43.8 kB / 0.7301 GB, free: 37.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3883/1.667, allocations: 135.8 MB / 0.8627 GB, free: 89.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002634/1.668, allocations: 84 kB / 0.8628 GB, free: 89.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006388/1.674, allocations: 1.55 MB / 0.8643 GB, free: 88.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/1.676, allocations: 0.5013 MB / 0.8648 GB, free: 87.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001404/1.677, allocations: 259.9 kB / 0.8651 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/1.683, allocations: 11.78 MB / 0.8766 GB, free: 74.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.969e-05/1.683, allocations: 135.4 kB / 0.8767 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/1.706, allocations: 17.35 MB / 0.8937 GB, free: 55.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005535/1.711, allocations: 1.38 MB / 0.895 GB, free: 54.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/1.713, allocations: 243.9 kB / 0.8952 GB, free: 53.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005804/1.719, allocations: 0.5424 MB / 0.8958 GB, free: 53.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/1.721, allocations: 0.7611 MB / 0.8965 GB, free: 52.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007493/1.721, allocations: 323.9 kB / 0.8968 GB, free: 52.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004671/1.726, allocations: 2.807 MB / 0.8996 GB, free: 49.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.726, allocations: 4.984 kB / 0.8996 GB, free: 49.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0131/1.739, allocations: 2.948 MB / 0.9024 GB, free: 46.52 MB / 490.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.002171/1.741, allocations: 492.4 kB / 0.9029 GB, free: 46.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0161/1.757, allocations: 10.16 MB / 0.9128 GB, free: 35.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001182/1.757, allocations: 12.12 kB / 0.9128 GB, free: 35.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007452/1.765, allocations: 5.316 MB / 0.918 GB, free: 30.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01029/1.775, allocations: 1.307 MB / 0.9193 GB, free: 29.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04299/1.818, allocations: 23.64 MB / 0.9424 GB, free: 3.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01472/1.833, allocations: 6.628 MB / 0.9489 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009297/1.842, allocations: 2.64 MB / 0.9515 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/1.845, allocations: 0.5238 MB / 0.952 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of SimCode: time 1.493e-06/1.845, allocations: 0 / 0.952 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of Templates: time 0.3446/2.189, allocations: 76.42 MB / 1.027 GB, free: 120.5 MB / 0.5105 GB " [Timeout remaining time 658] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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: 10.302888717968017]