Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009817/0.0009817, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009545/0.0009545, allocations: 171.6 kB / 24.91 MB, free: 8.219 MB / 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 0.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2501/0.2501, allocations: 32.81 MB / 294.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.895e-05, allocations: 2.312 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01961/0.01963, allocations: 18.44 MB / 341.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.03304, allocations: 5.256 MB / 347 MB, free: 1.805 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003954/0.037, allocations: 191 kB / 347.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.04929, allocations: 8.24 MB / 355.4 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.0556, allocations: 2.132 MB / 357.5 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.05871, allocations: 1.398 MB / 358.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01306/0.07177, allocations: 12.63 MB / 371.6 MB, free: 9.117 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02548/0.09725, allocations: 17.26 MB / 388.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.1123, allocations: 9.875 MB / 398.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.1244, allocations: 7.349 MB / 406 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003657/0.128, allocations: 1.719 MB / 407.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.132, allocations: 1.933 MB / 409.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.1353, allocations: 3.799 MB / 413.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009365/0.1446, allocations: 4.764 MB / 418.3 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.1579, allocations: 12 MB / 430.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1579, allocations: 0 / 430.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1579, allocations: 0 / 430.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002818/0.1582, allocations: 0 / 430.2 MB, free: 14.07 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.3108/0.4689, allocations: 14.11 MB / 444.4 MB, free: 81.14 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.469, allocations: 9.312 kB / 444.4 MB, free: 81.14 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04042/0.5094, allocations: 10.05 MB / 454.4 MB, free: 81.1 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00963/0.519, allocations: 3.646 MB / 458.1 MB, free: 80.6 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000712/0.5197, allocations: 0.8931 MB / 459 MB, free: 80.57 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003305/0.523, allocations: 1.18 MB / 460.1 MB, free: 80.56 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5411, allocations: 8.985 MB / 469.1 MB, free: 76.23 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/0.5413, allocations: 18.94 kB / 469.1 MB, free: 76.21 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/0.5425, allocations: 498.5 kB / 469.6 MB, free: 75.97 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004637/0.5429, allocations: 0.6534 MB / 470.3 MB, free: 75.32 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.5535, allocations: 4.157 MB / 474.4 MB, free: 71.13 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05594/0.6094, allocations: 34.03 MB / 0.4965 GB, free: 38.84 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005561/0.615, allocations: 5.38 MB / 0.5018 GB, free: 33.53 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.6165, allocations: 1.148 MB / 0.5029 GB, free: 32.4 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.6168, allocations: 216.9 kB / 0.5031 GB, free: 32.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.6168, allocations: 103.7 kB / 0.5032 GB, free: 32.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=653): time 7.815e-06/0.6168, allocations: 0 / 0.5032 GB, free: 32.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=653): time 0.004495/0.6213, allocations: 3.01 MB / 0.5062 GB, free: 29.01 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.6214, allocations: 120.5 kB / 0.5063 GB, free: 28.88 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.6237, allocations: 2.342 MB / 0.5086 GB, free: 27.09 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.624, allocations: 133.7 kB / 0.5087 GB, free: 26.95 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.6252, allocations: 4.304 MB / 0.5129 GB, free: 22.91 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.6263, allocations: 2.271 MB / 0.5151 GB, free: 20.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.6275, allocations: 1.303 MB / 0.5164 GB, free: 19.61 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.706e-05/0.6275, allocations: 305.1 kB / 0.5167 GB, free: 19.31 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.6286, allocations: 0.702 MB / 0.5174 GB, free: 18.61 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.6305, allocations: 3.527 MB / 0.5208 GB, free: 14.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/0.6344, allocations: 5.21 MB / 0.5259 GB, free: 8.043 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.71e-05/0.6344, allocations: 24 kB / 0.5259 GB, free: 8.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.005378/0.6398, allocations: 4.272 MB / 0.5301 GB, free: 4.254 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.6399, allocations: 44 kB / 0.5301 GB, free: 4.211 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.708e-05/0.6399, allocations: 92 kB / 0.5302 GB, free: 4.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.6406, allocations: 364.7 kB / 0.5306 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/0.6441, allocations: 1.87 MB / 0.5324 GB, free: 2.004 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.6478, allocations: 7.275 MB / 0.5395 GB, free: 10.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.6517, allocations: 0.7368 MB / 0.5402 GB, free: 9.594 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000829/0.6525, allocations: 302.8 kB / 0.5405 GB, free: 9.301 MB / 426.8 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.003172/0.6557, allocations: 0.644 MB / 0.5411 GB, free: 8.77 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009944/0.6567, allocations: 487.6 kB / 0.5416 GB, free: 8.293 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/0.6625, allocations: 4.247 MB / 0.5457 GB, free: 4.305 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.6625, allocations: 68 kB / 0.5458 GB, free: 4.238 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6625, allocations: 0 / 0.5458 GB, free: 4.238 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/0.6625, allocations: 31.88 kB / 0.5458 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/0.7046, allocations: 20.01 MB / 0.5654 GB, free: 0.6016 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001193/0.7047, allocations: 84 kB / 0.5655 GB, free: 0.5195 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/0.7079, allocations: 1.4 MB / 0.5668 GB, free: 15.22 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006806/0.7086, allocations: 351.5 kB / 0.5672 GB, free: 14.86 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/0.709, allocations: 243.9 kB / 0.5674 GB, free: 14.62 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.7126, allocations: 7.244 MB / 0.5745 GB, free: 6.977 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.388e-05/0.7126, allocations: 138.2 kB / 0.5746 GB, free: 6.879 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009085/0.7217, allocations: 8.795 MB / 0.5832 GB, free: 11.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/0.724, allocations: 0.8943 MB / 0.5841 GB, free: 11.03 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00054/0.7245, allocations: 235.9 kB / 0.5843 GB, free: 10.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.7267, allocations: 276 kB / 0.5846 GB, free: 10.53 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/0.7274, allocations: 0.7474 MB / 0.5853 GB, free: 9.852 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/0.7278, allocations: 255.9 kB / 0.5855 GB, free: 9.602 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001375/0.7292, allocations: 1.083 MB / 0.5866 GB, free: 8.652 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7292, allocations: 0 / 0.5866 GB, free: 8.652 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006536/0.7357, allocations: 2.951 MB / 0.5895 GB, free: 5.691 MB / 474.8 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.0007807/0.7365, allocations: 486.8 kB / 0.5899 GB, free: 5.312 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006054/0.7425, allocations: 4.347 MB / 0.5942 GB, free: 1.324 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001451/0.7427, allocations: 73.94 kB / 0.5942 GB, free: 1.25 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.7455, allocations: 2.573 MB / 0.5968 GB, free: 14.67 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/0.7502, allocations: 1.285 MB / 0.598 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1852/0.9354, allocations: 19.72 MB / 0.6173 GB, free: 132.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/0.939, allocations: 2.471 MB / 0.6197 GB, free: 132.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003683/0.9427, allocations: 0.916 MB / 0.6206 GB, free: 132.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/0.9458, allocations: 1.229 MB / 0.6218 GB, free: 132.4 MB / 490.8 MB Notification: Performance of SimCode: time 1.853e-06/0.9458, allocations: 0 / 0.6218 GB, free: 132.4 MB / 490.8 MB Notification: Performance of Templates: time 0.09979/1.046, allocations: 84.2 MB / 0.704 GB, free: 68.49 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.665024631191045]