Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001021/0.001021, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001146/0.001146, allocations: 165 kB / 24.56 MB, free: 16 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 0.9886/0.9886, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.3168/0.3168, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] 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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.837e-05, allocations: 6.25 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01032/0.01036, allocations: 7.297 MB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005979/0.01634, allocations: 2.272 MB / 387.6 MB, free: 9.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.01835, allocations: 27.94 kB / 387.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.02265, allocations: 1.847 MB / 389.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.02598, allocations: 0.7144 MB / 390.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.02784, allocations: 0.7204 MB / 390.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.03022, allocations: 1.295 MB / 392.2 MB, free: 4.422 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.03208, allocations: 0.8555 MB / 393.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.03351, allocations: 0.756 MB / 393.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.03457, allocations: 0.5181 MB / 394.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.03494, allocations: 104 kB / 394.4 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.03593, allocations: 291.6 kB / 394.7 MB, free: 1.879 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.03619, allocations: 282.8 kB / 395 MB, free: 1.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.03684, allocations: 418.9 kB / 395.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.03919, allocations: 1.101 MB / 396.5 MB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.0392, allocations: 0 / 396.5 MB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0392, allocations: 0 / 396.5 MB, free: 88 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.03925, allocations: 4 kB / 396.5 MB, free: 84 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004798/0.04405, allocations: 1.874 MB / 398.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.04409, allocations: 12.03 kB / 398.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.04892, allocations: 1.584 MB / 400 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.04956, allocations: 0.5139 MB / 400.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.04962, allocations: 95.03 kB / 400.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.04976, allocations: 144.3 kB / 400.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.05108, allocations: 1.087 MB / 401.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.05112, allocations: 11.89 kB / 401.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.05119, allocations: 56 kB / 401.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.05122, allocations: 32 kB / 401.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.05234, allocations: 0.8585 MB / 402.8 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.05677, allocations: 3.55 MB / 406.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/0.05772, allocations: 0.6745 MB / 407 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.05798, allocations: 207 kB / 407.2 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.05806, allocations: 44.97 kB / 407.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.05809, allocations: 42.39 kB / 407.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.056e-06/0.05809, allocations: 0 / 407.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.001347/0.05944, allocations: 0.7063 MB / 408 MB, free: 4.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.05947, allocations: 60.41 kB / 408.1 MB, free: 4.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.05984, allocations: 0.5139 MB / 408.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.05989, allocations: 41.7 kB / 408.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.06013, allocations: 0.5922 MB / 409.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.06029, allocations: 321.2 kB / 409.5 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.06049, allocations: 220.5 kB / 409.7 MB, free: 2.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.06064, allocations: 0.543 MB / 410.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.06092, allocations: 174.5 kB / 410.4 MB, free: 1.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.06137, allocations: 0.5491 MB / 411 MB, free: 1.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.06244, allocations: 0.8006 MB / 411.8 MB, free: 148 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.06244, allocations: 4 kB / 411.8 MB, free: 144 kB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001103/0.06355, allocations: 0.8831 MB / 412.7 MB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.06357, allocations: 12.56 kB / 412.7 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.06358, allocations: 8 kB / 412.7 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.06385, allocations: 87.64 kB / 412.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.06437, allocations: 259.6 kB / 413 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.06601, allocations: 3.507 MB / 416.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.06636, allocations: 115.1 kB / 416.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.06642, allocations: 59.91 kB / 416.7 MB, free: 10.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002088/0.06662, allocations: 220.3 kB / 416.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.06673, allocations: 99.7 kB / 417 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.06773, allocations: 0.8772 MB / 417.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.06774, allocations: 16 kB / 417.9 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.06774, allocations: 0 / 417.9 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.06775, allocations: 7.969 kB / 417.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.06993, allocations: 1.799 MB / 419.7 MB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.06993, allocations: 4 kB / 419.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.0703, allocations: 179.7 kB / 419.9 MB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.07048, allocations: 79.75 kB / 420 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.07051, allocations: 27.98 kB / 420 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.07188, allocations: 3.516 MB / 423.5 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.07188, allocations: 8 kB / 423.5 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.07302, allocations: 1.139 MB / 424.7 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.07308, allocations: 83.36 kB / 424.8 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.07314, allocations: 31.92 kB / 424.8 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.0734, allocations: 43.98 kB / 424.8 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.0735, allocations: 80.41 kB / 424.9 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.07354, allocations: 39.98 kB / 425 MB, free: 2.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005333/0.07407, allocations: 335 kB / 425.3 MB, free: 1.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07407, allocations: 4.031 kB / 425.3 MB, free: 1.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006535/0.07473, allocations: 347.1 kB / 425.6 MB, free: 1.453 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002555/0.07498, allocations: 174.9 kB / 425.8 MB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000982/0.07596, allocations: 0.9306 MB / 426.7 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.07597, allocations: 0 / 426.7 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.07643, allocations: 0.6188 MB / 427.3 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.07687, allocations: 115.2 kB / 427.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.07903, allocations: 1.805 MB / 429.3 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.07915, allocations: 181.9 kB / 429.4 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.07943, allocations: 125.9 kB / 429.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.07958, allocations: 76.47 kB / 429.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.07958, allocations: 4 kB / 429.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01293/0.09251, allocations: 9.721 MB / 439.4 MB, free: 3.594 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/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: 3.648314299993217]