Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001321/0.001321, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001512/0.001512, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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.2458/0.2458, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 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.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.378, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0102/0.3882, allocations: 6.805 MB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.3951, allocations: 2.294 MB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.3972, allocations: 31.88 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.4019, allocations: 1.695 MB / 0.5724 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.4044, allocations: 0.6987 MB / 0.5731 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.4068, allocations: 1.031 MB / 0.5741 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.4088, allocations: 1.416 MB / 0.5755 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.4103, allocations: 0.934 MB / 0.5764 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.4111, allocations: 0.6189 MB / 0.577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.412, allocations: 0.7354 MB / 0.5777 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.4122, allocations: 112 kB / 0.5778 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.4129, allocations: 327.8 kB / 0.5781 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.4132, allocations: 302.9 kB / 0.5784 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.4138, allocations: 0.5326 MB / 0.5789 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.416, allocations: 1.785 MB / 0.5807 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.416, allocations: 4 kB / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.416, allocations: 0 / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.4161, allocations: 0 / 0.5807 GB, free: 0.7539 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008122/0.4242, allocations: 2.338 MB / 0.583 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4242, allocations: 8.031 kB / 0.583 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.4343, allocations: 1.331 MB / 0.5843 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.4359, allocations: 0.5644 MB / 0.5848 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.436, allocations: 103 kB / 0.5849 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.4363, allocations: 132.3 kB / 0.585 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.4394, allocations: 1.591 MB / 0.5866 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.4394, allocations: 3.953 kB / 0.5866 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.4396, allocations: 60 kB / 0.5867 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.4396, allocations: 39.98 kB / 0.5867 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.4424, allocations: 1.501 MB / 0.5882 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008098/0.4505, allocations: 4.278 MB / 0.5923 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.4526, allocations: 1.076 MB / 0.5934 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.4536, allocations: 0.546 MB / 0.5939 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.4538, allocations: 36.97 kB / 0.594 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.4538, allocations: 47.56 kB / 0.594 GB, free: 2.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.286e-06/0.4538, allocations: 0 / 0.594 GB, free: 2.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009633/0.4635, allocations: 2.99 MB / 0.5969 GB, free: 15.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4635, allocations: 90.11 kB / 0.597 GB, free: 15.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.4641, allocations: 421.7 kB / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.4642, allocations: 45.7 kB / 0.5975 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.4645, allocations: 488.7 kB / 0.5979 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/0.4649, allocations: 440.2 kB / 0.5983 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.4653, allocations: 222.8 kB / 0.5986 GB, free: 14.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4655, allocations: 378.7 kB / 0.5989 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.4664, allocations: 458.4 kB / 0.5994 GB, free: 13.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.4675, allocations: 0.6958 MB / 0.6 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.4696, allocations: 1.213 MB / 0.6012 GB, free: 11.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4696, allocations: 0 / 0.6012 GB, free: 11.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003163/0.4728, allocations: 1.574 MB / 0.6028 GB, free: 9.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4728, allocations: 8 kB / 0.6028 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.4728, allocations: 8 kB / 0.6028 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.4745, allocations: 0.5242 MB / 0.6033 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.4754, allocations: 199.7 kB / 0.6035 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002006/0.4756, allocations: 53.2 kB / 0.6035 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007459/0.4763, allocations: 115.2 kB / 0.6036 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.4764, allocations: 59.92 kB / 0.6037 GB, free: 8.625 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005385/0.477, allocations: 265.6 kB / 0.6039 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.4771, allocations: 79.48 kB / 0.604 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.4802, allocations: 1.54 MB / 0.6055 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.4803, allocations: 20 kB / 0.6055 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4803, allocations: 3.938 kB / 0.6055 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.4803, allocations: 11.91 kB / 0.6056 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.4851, allocations: 2.485 MB / 0.608 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4851, allocations: 0 / 0.608 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.4858, allocations: 151.8 kB / 0.6081 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.4874, allocations: 0.5106 MB / 0.6086 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/0.4875, allocations: 35.98 kB / 0.6087 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003155/0.4878, allocations: 68.73 kB / 0.6087 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4878, allocations: 0 / 0.6087 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.4921, allocations: 2.31 MB / 0.611 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.4926, allocations: 199.1 kB / 0.6112 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.4927, allocations: 23.98 kB / 0.6112 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.4934, allocations: 52.05 kB / 0.6112 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.4936, allocations: 89.02 kB / 0.6113 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/0.4937, allocations: 39.98 kB / 0.6114 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.494, allocations: 271.1 kB / 0.6116 GB, free: 408 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.494, allocations: 0 / 0.6116 GB, free: 408 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001154/0.4952, allocations: 351.2 kB / 0.612 GB, free: 56 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/0.4955, allocations: 163.1 kB / 0.6121 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.4986, allocations: 1.28 MB / 0.6134 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4986, allocations: 0 / 0.6134 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.5004, allocations: 0.6846 MB / 0.614 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007393/0.5012, allocations: 97.89 kB / 0.6141 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.5051, allocations: 2.124 MB / 0.6162 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.5058, allocations: 454.3 kB / 0.6166 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.5062, allocations: 79.34 kB / 0.6167 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5062, allocations: 7.938 kB / 0.6167 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Templates: time 0.02855/0.5347, allocations: 17.21 MB / 0.6335 GB, free: 9.867 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 8.81724976201076]