Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4025/0.4025, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.784e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02264/0.02267, allocations: 17 MB / 394.3 MB, free: 1.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.03443, allocations: 4.904 MB / 399.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.03804, allocations: 195 kB / 399.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0201/0.05814, allocations: 7.66 MB / 407 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.06694, allocations: 2.144 MB / 409.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.07162, allocations: 1.38 MB / 410.6 MB, free: 1.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01809/0.08972, allocations: 12.63 MB / 423.2 MB, free: 4.875 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03125/0.121, allocations: 16.78 MB / 440 MB, free: 3.895 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2092/0.3301, allocations: 9.736 MB / 449.7 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.3419, allocations: 6.517 MB / 456.2 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006057/0.3479, allocations: 1.721 MB / 457.9 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008496/0.3564, allocations: 1.92 MB / 459.9 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005851/0.3623, allocations: 3.734 MB / 463.6 MB, free: 59.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01029/0.3725, allocations: 4.71 MB / 468.3 MB, free: 58.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02815/0.4007, allocations: 23.91 MB / 492.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4007, allocations: 3.375 kB / 492.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4007, allocations: 0 / 492.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009091/0.4016, allocations: 0 / 492.2 MB, free: 52.22 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.05507/0.4567, allocations: 14.64 MB / 0.495 GB, free: 43.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4567, allocations: 10.72 kB / 0.495 GB, free: 43.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06433/0.5211, allocations: 13.34 MB / 0.508 GB, free: 37.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/0.5411, allocations: 7.793 MB / 0.5156 GB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/0.5422, allocations: 0.8891 MB / 0.5165 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007184/0.5494, allocations: 1.18 MB / 0.5177 GB, free: 27.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06169/0.611, allocations: 19.14 MB / 0.5363 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007948/0.6118, allocations: 27.89 kB / 0.5364 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006237/0.6181, allocations: 496.3 kB / 0.5368 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000829/0.6189, allocations: 0.6539 MB / 0.5375 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0498/0.6687, allocations: 19.04 MB / 0.5561 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4059/1.075, allocations: 53.25 MB / 0.6081 GB, free: 124.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/1.098, allocations: 10.64 MB / 0.6185 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008006/1.106, allocations: 4.221 MB / 0.6226 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/1.106, allocations: 229.1 kB / 0.6228 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/1.106, allocations: 104.9 kB / 0.6229 GB, free: 124.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=653): time 9.177e-06/1.106, allocations: 0 / 0.6229 GB, free: 124.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=653): time 0.01967/1.126, allocations: 11.95 MB / 0.6346 GB, free: 120.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/1.126, allocations: 129 kB / 0.6347 GB, free: 120.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006706/1.133, allocations: 3.821 MB / 0.6384 GB, free: 119 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.134, allocations: 132.1 kB / 0.6386 GB, free: 118.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.137, allocations: 4.68 MB / 0.6431 GB, free: 115.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002648/1.14, allocations: 2.269 MB / 0.6454 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002549/1.142, allocations: 1.457 MB / 0.6468 GB, free: 113.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.398e-05/1.142, allocations: 304.7 kB / 0.6471 GB, free: 113 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006008/1.148, allocations: 4.115 MB / 0.6511 GB, free: 111.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008707/1.157, allocations: 6.925 MB / 0.6578 GB, free: 106.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/1.176, allocations: 11.97 MB / 0.6695 GB, free: 99.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/1.176, allocations: 26.25 kB / 0.6696 GB, free: 99.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02229/1.198, allocations: 12.2 MB / 0.6815 GB, free: 95.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.198, allocations: 50.88 kB / 0.6815 GB, free: 95.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/1.198, allocations: 89.09 kB / 0.6816 GB, free: 95.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/1.2, allocations: 0.526 MB / 0.6821 GB, free: 95.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007752/1.208, allocations: 2.015 MB / 0.6841 GB, free: 93.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005802/1.213, allocations: 8.819 MB / 0.6927 GB, free: 84.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008645/1.222, allocations: 1.029 MB / 0.6937 GB, free: 83.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002394/1.225, allocations: 383.9 kB / 0.6941 GB, free: 83.04 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.01127/1.236, allocations: 4.578 MB / 0.6985 GB, free: 78.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/1.238, allocations: 0.6728 MB / 0.6992 GB, free: 77.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.253, allocations: 10.32 MB / 0.7093 GB, free: 67.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/1.253, allocations: 68 kB / 0.7094 GB, free: 67.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/1.253, allocations: 7.938 kB / 0.7094 GB, free: 67.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-05/1.253, allocations: 31.88 kB / 0.7094 GB, free: 67.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4236/1.676, allocations: 150.1 MB / 0.856 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001528/1.677, allocations: 84 kB / 0.8561 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005574/1.682, allocations: 1.552 MB / 0.8576 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/1.684, allocations: 0.4975 MB / 0.8581 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008152/1.684, allocations: 254.8 kB / 0.8583 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/1.69, allocations: 8.701 MB / 0.8668 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/1.69, allocations: 139.3 kB / 0.867 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02403/1.714, allocations: 18.41 MB / 0.8849 GB, free: 81.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004537/1.718, allocations: 1.559 MB / 0.8865 GB, free: 79.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/1.72, allocations: 243.9 kB / 0.8867 GB, free: 79.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/1.725, allocations: 0.5511 MB / 0.8872 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/1.726, allocations: 0.7611 MB / 0.888 GB, free: 78.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005548/1.726, allocations: 319.9 kB / 0.8883 GB, free: 77.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004094/1.731, allocations: 2.542 MB / 0.8908 GB, free: 75.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/1.731, allocations: 0 / 0.8908 GB, free: 75.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01359/1.744, allocations: 2.954 MB / 0.8937 GB, free: 72.73 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.002538/1.747, allocations: 495 kB / 0.8941 GB, free: 72.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01567/1.762, allocations: 10.32 MB / 0.9042 GB, free: 61.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001324/1.763, allocations: 20.06 kB / 0.9042 GB, free: 61.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008153/1.771, allocations: 5.289 MB / 0.9094 GB, free: 56.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01413/1.785, allocations: 1.306 MB / 0.9107 GB, free: 55.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05756/1.842, allocations: 24.39 MB / 0.9345 GB, free: 29.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/1.854, allocations: 7.411 MB / 0.9417 GB, free: 22.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007772/1.862, allocations: 3.2 MB / 0.9448 GB, free: 18.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.864, allocations: 0.5238 MB / 0.9454 GB, free: 18.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.943e-06/1.864, allocations: 0 / 0.9454 GB, free: 18.37 MB / 490.7 MB Notification: Performance of Templates: time 0.3426/2.206, allocations: 76.82 MB / 1.02 GB, free: 125.7 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.355878061964177]