Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2463/0.2463, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.91 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.409, allocations: 64.29 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01008/0.419, allocations: 6.993 MB / 0.5557 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.425, allocations: 2.231 MB / 0.5578 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.426, allocations: 28.72 kB / 0.5579 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.4303, allocations: 1.526 MB / 0.5594 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.4336, allocations: 0.8429 MB / 0.5602 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.4352, allocations: 0.5875 MB / 0.5607 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.4371, allocations: 1.148 MB / 0.5619 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.4383, allocations: 0.6094 MB / 0.5625 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.4391, allocations: 490.1 kB / 0.5629 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.4399, allocations: 0.603 MB / 0.5635 GB, free: 304 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.44, allocations: 92 kB / 0.5636 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008408/0.4408, allocations: 283.7 kB / 0.5639 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.4411, allocations: 251 kB / 0.5641 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.4416, allocations: 0.548 MB / 0.5647 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.4437, allocations: 1.466 MB / 0.5661 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4437, allocations: 3.938 kB / 0.5661 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4437, allocations: 4 kB / 0.5661 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.4437, allocations: 4 kB / 0.5661 GB, free: 13.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.005251/0.449, allocations: 1.636 MB / 0.5677 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.319e-05/0.449, allocations: 8.922 kB / 0.5677 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009921/0.4589, allocations: 1.323 MB / 0.569 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.4605, allocations: 492 kB / 0.5695 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.4606, allocations: 90.41 kB / 0.5696 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.4608, allocations: 116 kB / 0.5697 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.4634, allocations: 1.145 MB / 0.5708 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.4634, allocations: 4 kB / 0.5708 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.4635, allocations: 52 kB / 0.5708 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.4636, allocations: 28 kB / 0.5709 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.4661, allocations: 1.368 MB / 0.5722 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008103/0.4742, allocations: 3.8 MB / 0.5759 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.4762, allocations: 0.7963 MB / 0.5767 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006273/0.4768, allocations: 327.7 kB / 0.577 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.486e-05/0.4769, allocations: 24.97 kB / 0.577 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.4769, allocations: 47.56 kB / 0.5771 GB, free: 2.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=89): time 2.965e-06/0.477, allocations: 0 / 0.5771 GB, free: 2.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=89): time 0.002545/0.4795, allocations: 1.044 MB / 0.5781 GB, free: 1.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4796, allocations: 64.41 kB / 0.5781 GB, free: 1.078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4807, allocations: 0.7817 MB / 0.5789 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.4808, allocations: 41.7 kB / 0.579 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.4812, allocations: 464.4 kB / 0.5794 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.4815, allocations: 325.2 kB / 0.5797 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.4819, allocations: 182.9 kB / 0.5799 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.4821, allocations: 394.7 kB / 0.5803 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/0.4828, allocations: 338.5 kB / 0.5806 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/0.4838, allocations: 0.5583 MB / 0.5811 GB, free: 13.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4853, allocations: 0.9269 MB / 0.582 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.4853, allocations: 4 kB / 0.582 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002267/0.4876, allocations: 1.124 MB / 0.5831 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.4876, allocations: 8 kB / 0.5831 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.4876, allocations: 4 kB / 0.5831 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.488, allocations: 69.67 kB / 0.5832 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4891, allocations: 243.6 kB / 0.5834 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.4916, allocations: 2.649 MB / 0.586 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.4926, allocations: 142.8 kB / 0.5862 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/0.4927, allocations: 51.98 kB / 0.5862 GB, free: 8.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.000488/0.4932, allocations: 245.5 kB / 0.5864 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.4934, allocations: 95.38 kB / 0.5865 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.4954, allocations: 1.095 MB / 0.5876 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4954, allocations: 8 kB / 0.5876 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4954, allocations: 0 / 0.5876 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.4954, allocations: 11.91 kB / 0.5876 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.4998, allocations: 2.298 MB / 0.5899 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4998, allocations: 8 kB / 0.5899 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007759/0.5006, allocations: 179.7 kB / 0.59 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.5009, allocations: 66.19 kB / 0.5901 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.5009, allocations: 35.86 kB / 0.5901 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003112/0.504, allocations: 2.617 MB / 0.5927 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.504, allocations: 4 kB / 0.5927 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.5067, allocations: 1.462 MB / 0.5941 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.5071, allocations: 127.2 kB / 0.5943 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5072, allocations: 28 kB / 0.5943 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.5079, allocations: 55.91 kB / 0.5943 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/0.5082, allocations: 76.42 kB / 0.5944 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.5082, allocations: 43.92 kB / 0.5944 GB, free: 15.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008637/0.5091, allocations: 0.5498 MB / 0.595 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5091, allocations: 0 / 0.595 GB, free: 14.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5102, allocations: 287.6 kB / 0.5953 GB, free: 14.57 MB / 446.1 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 (92): * Single equations (assignments): 90 * 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.0003735/0.5106, allocations: 170.8 kB / 0.5954 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.5127, allocations: 1.015 MB / 0.5964 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.5127, allocations: 4 kB / 0.5964 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.5137, allocations: 0.5975 MB / 0.597 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.5145, allocations: 114.9 kB / 0.5971 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.518, allocations: 1.795 MB / 0.5989 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.5186, allocations: 0.9844 MB / 0.5998 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005864/0.5192, allocations: 151.4 kB / 0.6 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.5195, allocations: 79.42 kB / 0.6 GB, free: 9.469 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5195, allocations: 0 / 0.6 GB, free: 9.469 MB / 446.1 MB Notification: Performance of Templates: time 0.02275/0.5422, allocations: 11.1 MB / 0.6109 GB, free: 14.43 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: 6.013507021591067]