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.002651/0.002651, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.003281/0.003281, allocations: 161.3 kB / 24.27 MB, free: 136 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.626/1.626, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3645/0.3645, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.342e-06/1.342e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.12e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02688/0.02691, allocations: 18.94 MB / 396.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.03961, allocations: 4.962 MB / 401.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.04357, allocations: 195 kB / 401.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02133/0.06489, allocations: 8.284 MB / 409.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.07381, allocations: 2.144 MB / 411.8 MB, free: 292 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.07877, allocations: 1.41 MB / 413.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01916/0.09792, allocations: 12.61 MB / 425.8 MB, free: 2.207 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03352/0.1314, allocations: 16.79 MB / 442.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1948/0.3262, allocations: 9.817 MB / 452.4 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.3384, allocations: 7.189 MB / 459.6 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006147/0.3446, allocations: 1.722 MB / 461.4 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00782/0.3524, allocations: 1.919 MB / 463.3 MB, free: 55.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006038/0.3584, allocations: 3.805 MB / 467.1 MB, free: 55.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.37, allocations: 4.764 MB / 471.8 MB, free: 53.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02865/0.3986, allocations: 24.04 MB / 495.9 MB, free: 46.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3986, allocations: 0 / 495.9 MB, free: 46.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3986, allocations: 0 / 495.9 MB, free: 46.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008132/0.3994, allocations: 0 / 495.9 MB, free: 46.66 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.04456/0.444, allocations: 16.79 MB / 0.5007 GB, free: 36.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.444, allocations: 15.38 kB / 0.5007 GB, free: 36.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05843/0.5025, allocations: 13.37 MB / 0.5137 GB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/0.5199, allocations: 6.849 MB / 0.5204 GB, free: 22.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007369/0.5206, allocations: 0.8922 MB / 0.5213 GB, free: 21.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004952/0.5256, allocations: 1.184 MB / 0.5224 GB, free: 20.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04432/0.5699, allocations: 17.23 MB / 0.5393 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005172/0.5704, allocations: 15.56 kB / 0.5393 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003995/0.5744, allocations: 0.4891 MB / 0.5398 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005702/0.575, allocations: 0.6577 MB / 0.5404 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05032/0.6253, allocations: 17 MB / 0.557 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3728/0.9981, allocations: 72.73 MB / 0.628 GB, free: 77.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/1.016, allocations: 9.819 MB / 0.6376 GB, free: 77.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/1.022, allocations: 3.676 MB / 0.6412 GB, free: 77.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/1.023, allocations: 222.8 kB / 0.6414 GB, free: 77.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.639e-05/1.023, allocations: 110.8 kB / 0.6415 GB, free: 77.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=653): time 1.043e-05/1.023, allocations: 0 / 0.6415 GB, free: 77.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=653): time 0.01627/1.039, allocations: 10.17 MB / 0.6515 GB, free: 76.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/1.039, allocations: 117.3 kB / 0.6516 GB, free: 76.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007493/1.047, allocations: 5.339 MB / 0.6568 GB, free: 76.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001376/1.048, allocations: 130.2 kB / 0.6569 GB, free: 76.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00339/1.051, allocations: 5.197 MB / 0.662 GB, free: 72.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002948/1.054, allocations: 2.477 MB / 0.6644 GB, free: 70.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003178/1.057, allocations: 1.849 MB / 0.6662 GB, free: 69.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/1.058, allocations: 476.8 kB / 0.6667 GB, free: 69.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005227/1.063, allocations: 3.439 MB / 0.67 GB, free: 67.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007463/1.07, allocations: 7.859 MB / 0.6777 GB, free: 60.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/1.084, allocations: 12.22 MB / 0.6896 GB, free: 51.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001575/1.084, allocations: 29.91 kB / 0.6897 GB, free: 51.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01885/1.103, allocations: 10.9 MB / 0.7003 GB, free: 45.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/1.103, allocations: 43.16 kB / 0.7003 GB, free: 45.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/1.103, allocations: 92.06 kB / 0.7004 GB, free: 45.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/1.105, allocations: 0.5324 MB / 0.701 GB, free: 45.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006893/1.112, allocations: 2.012 MB / 0.7029 GB, free: 45.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/1.117, allocations: 11.91 MB / 0.7146 GB, free: 33.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006411/1.124, allocations: 1.017 MB / 0.7155 GB, free: 33.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.125, allocations: 389 kB / 0.7159 GB, free: 33.11 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.007827/1.133, allocations: 4.203 MB / 0.72 GB, free: 29.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/1.135, allocations: 0.6728 MB / 0.7207 GB, free: 28.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.149, allocations: 9.641 MB / 0.7301 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/1.149, allocations: 68 kB / 0.7302 GB, free: 18.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.149, allocations: 0 / 0.7302 GB, free: 18.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/1.149, allocations: 31.88 kB / 0.7302 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3708/1.52, allocations: 135.8 MB / 0.8628 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001573/1.52, allocations: 86.59 kB / 0.8629 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005631/1.525, allocations: 1.555 MB / 0.8644 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/1.527, allocations: 0.4933 MB / 0.8649 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008425/1.528, allocations: 261 kB / 0.8652 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/1.533, allocations: 11.79 MB / 0.8767 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.046e-05/1.533, allocations: 139.1 kB / 0.8768 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/1.554, allocations: 17.34 MB / 0.8937 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00483/1.559, allocations: 1.381 MB / 0.8951 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.56, allocations: 239.9 kB / 0.8953 GB, free: 98.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00517/1.565, allocations: 0.5456 MB / 0.8959 GB, free: 98.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/1.566, allocations: 0.765 MB / 0.8966 GB, free: 97.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006108/1.567, allocations: 318.1 kB / 0.8969 GB, free: 97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00419/1.571, allocations: 2.807 MB / 0.8996 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.571, allocations: 0 / 0.8996 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01237/1.584, allocations: 2.952 MB / 0.9025 GB, free: 91.26 MB / 0.5105 GB 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.002476/1.586, allocations: 0.4919 MB / 0.903 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01601/1.602, allocations: 10.15 MB / 0.9129 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001108/1.602, allocations: 16 kB / 0.9129 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00693/1.609, allocations: 5.316 MB / 0.9181 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008258/1.617, allocations: 1.312 MB / 0.9194 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0379/1.655, allocations: 23.64 MB / 0.9425 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/1.665, allocations: 6.624 MB / 0.949 GB, free: 41.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007262/1.673, allocations: 2.645 MB / 0.9515 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/1.675, allocations: 0.5199 MB / 0.9521 GB, free: 38.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.914e-06/1.675, allocations: 0 / 0.9521 GB, free: 38.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.3098/1.985, allocations: 76.44 MB / 1.027 GB, free: 126 MB / 0.5105 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] 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.021435462054797]