Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.001562/0.001562, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00169/0.00169, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9688/0.9688, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1522/0.1522, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.281e-05, allocations: 14.25 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01438/0.0144, allocations: 19.05 MB / 366.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.02593, allocations: 4.951 MB / 371.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003245/0.02918, allocations: 167.1 kB / 371.8 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008651/0.03783, allocations: 8.299 MB / 380.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.04319, allocations: 2.214 MB / 382.3 MB, free: 6.941 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.04538, allocations: 1.407 MB / 383.8 MB, free: 5.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.0565, allocations: 12.81 MB / 396.6 MB, free: 8.672 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02193/0.07843, allocations: 16.84 MB / 413.4 MB, free: 7.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.08998, allocations: 9.938 MB / 423.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009444/0.09943, allocations: 7.314 MB / 430.7 MB, free: 6.344 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005525/0.105, allocations: 1.734 MB / 432.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/0.1103, allocations: 1.933 MB / 434.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1494/0.2597, allocations: 3.864 MB / 438.2 MB, free: 45.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007952/0.2677, allocations: 4.836 MB / 443 MB, free: 45.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.2806, allocations: 12.15 MB / 455.2 MB, free: 44.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2806, allocations: 0 / 455.2 MB, free: 44.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2806, allocations: 2.953 kB / 455.2 MB, free: 44.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004443/0.2811, allocations: 3.156 kB / 455.2 MB, free: 44.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.02356/0.3046, allocations: 16.06 MB / 471.2 MB, free: 37.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3047, allocations: 7.562 kB / 471.3 MB, free: 37.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03669/0.3413, allocations: 14.83 MB / 486.1 MB, free: 28.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.3519, allocations: 5.969 MB / 492.1 MB, free: 23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.3522, allocations: 0.9019 MB / 493 MB, free: 22.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.3539, allocations: 1.197 MB / 494.2 MB, free: 20.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.3712, allocations: 8.614 MB / 0.491 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.3714, allocations: 15.89 kB / 0.491 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009152/0.3723, allocations: 0.4966 MB / 0.4915 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/0.3727, allocations: 0.6931 MB / 0.4922 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.3859, allocations: 6.453 MB / 0.4985 GB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06/0.4459, allocations: 47.46 MB / 0.5448 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009765/0.4556, allocations: 8.243 MB / 0.5529 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00247/0.4581, allocations: 1.62 MB / 0.5544 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.4584, allocations: 177.2 kB / 0.5546 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/0.4585, allocations: 110.7 kB / 0.5547 GB, free: 11.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=674): time 8.386e-06/0.4585, allocations: 0 / 0.5547 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=674): time 0.008558/0.4671, allocations: 4.829 MB / 0.5594 GB, free: 6.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.4671, allocations: 124.7 kB / 0.5595 GB, free: 6.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004559/0.4717, allocations: 3.671 MB / 0.5631 GB, free: 3.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003402/0.472, allocations: 133.7 kB / 0.5633 GB, free: 2.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002859/0.4749, allocations: 5.107 MB / 0.5682 GB, free: 13.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001827/0.4767, allocations: 2.462 MB / 0.5707 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00207/0.4788, allocations: 1.696 MB / 0.5723 GB, free: 9.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4789, allocations: 488.4 kB / 0.5728 GB, free: 9.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/0.4813, allocations: 1.074 MB / 0.5738 GB, free: 8.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.4858, allocations: 5.635 MB / 0.5793 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/0.4932, allocations: 7.534 MB / 0.5867 GB, free: 7.547 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.267e-05/0.4933, allocations: 28 kB / 0.5867 GB, free: 7.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.009756/0.503, allocations: 6.286 MB / 0.5928 GB, free: 1.762 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.5031, allocations: 52.06 kB / 0.5929 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.712e-05/0.5032, allocations: 96 kB / 0.593 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/0.5041, allocations: 441.5 kB / 0.5934 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1564/0.6605, allocations: 2.09 MB / 0.5955 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.664, allocations: 10.9 MB / 0.6061 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005034/0.669, allocations: 1.076 MB / 0.6071 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000887/0.6699, allocations: 395.7 kB / 0.6075 GB, free: 130 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.004351/0.6742, allocations: 0.7144 MB / 0.6082 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.6754, allocations: 0.6995 MB / 0.6089 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008446/0.6838, allocations: 6.409 MB / 0.6152 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/0.6838, allocations: 70.12 kB / 0.6152 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.6839, allocations: 3.656 kB / 0.6152 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/0.6839, allocations: 34.17 kB / 0.6153 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05701/0.7409, allocations: 24.58 MB / 0.6393 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-05/0.741, allocations: 88.38 kB / 0.6394 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003881/0.7449, allocations: 1.572 MB / 0.6409 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008539/0.7457, allocations: 403.9 kB / 0.6413 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000418/0.7461, allocations: 247.1 kB / 0.6415 GB, free: 121.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/0.7496, allocations: 10.79 MB / 0.652 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.043e-05/0.7496, allocations: 139.4 kB / 0.6522 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/0.7855, allocations: 10.81 MB / 0.6627 GB, free: 98.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007512/0.793, allocations: 1.383 MB / 0.6641 GB, free: 97.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00066/0.7937, allocations: 248.8 kB / 0.6643 GB, free: 97.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006268/0.8, allocations: 0.5649 MB / 0.6649 GB, free: 97.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003944/0.8039, allocations: 0.7661 MB / 0.6656 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004316/0.8043, allocations: 318 kB / 0.6659 GB, free: 96.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003445/0.8078, allocations: 1.633 MB / 0.6675 GB, free: 95.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/0.8078, allocations: 0 / 0.6675 GB, free: 95.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007572/0.8153, allocations: 3.006 MB / 0.6705 GB, free: 92.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.0006778/0.816, allocations: 0.502 MB / 0.6709 GB, free: 92.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006984/0.823, allocations: 5.755 MB / 0.6766 GB, free: 87.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-05/0.823, allocations: 16.12 kB / 0.6766 GB, free: 87.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.8259, allocations: 3.322 MB / 0.6798 GB, free: 84.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006051/0.832, allocations: 1.307 MB / 0.6811 GB, free: 83.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/0.8612, allocations: 21.69 MB / 0.7023 GB, free: 61.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003996/0.8652, allocations: 3.462 MB / 0.7057 GB, free: 58.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00521/0.8704, allocations: 2.728 MB / 0.7083 GB, free: 55.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/0.873, allocations: 496.4 kB / 0.7088 GB, free: 55.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/0.873, allocations: 0 / 0.7088 GB, free: 55.5 MB / 458.7 MB Notification: Performance of Templates: time 0.2436/1.117, allocations: 75.84 MB / 0.7829 GB, free: 144.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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: 6.149729405995458]