Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 75.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3193, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01008/0.3294, allocations: 7.805 MB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.3341, allocations: 2.449 MB / 0.5712 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.3345, allocations: 27.94 kB / 0.5712 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.3387, allocations: 1.823 MB / 0.573 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.3407, allocations: 0.7136 MB / 0.5737 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.3431, allocations: 1.082 MB / 0.5748 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.3448, allocations: 1.413 MB / 0.5761 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.3461, allocations: 0.7704 MB / 0.5769 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007861/0.3469, allocations: 0.6111 MB / 0.5775 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008877/0.3478, allocations: 0.7237 MB / 0.5782 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.3479, allocations: 116 kB / 0.5783 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007321/0.3486, allocations: 339.8 kB / 0.5786 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.3489, allocations: 310.8 kB / 0.5789 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006357/0.3495, allocations: 0.6491 MB / 0.5796 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.3517, allocations: 1.77 MB / 0.5813 GB, free: 348 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3517, allocations: 0 / 0.5813 GB, free: 348 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3517, allocations: 0 / 0.5813 GB, free: 348 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.3517, allocations: 0 / 0.5813 GB, free: 348 kB / 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.008008/0.3597, allocations: 2.414 MB / 0.5837 GB, free: 13.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3597, allocations: 8.031 kB / 0.5837 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.37, allocations: 1.331 MB / 0.585 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.3714, allocations: 0.6249 MB / 0.5856 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.3715, allocations: 99.02 kB / 0.5857 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/0.3718, allocations: 132.3 kB / 0.5858 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.3746, allocations: 1.494 MB / 0.5873 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.3747, allocations: 3.953 kB / 0.5873 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.3748, allocations: 56 kB / 0.5873 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.3749, allocations: 35.98 kB / 0.5873 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.3776, allocations: 1.517 MB / 0.5888 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008837/0.3865, allocations: 5.612 MB / 0.5943 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.3891, allocations: 2.05 MB / 0.5963 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.3901, allocations: 0.546 MB / 0.5968 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.3904, allocations: 191.2 kB / 0.597 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3904, allocations: 51.56 kB / 0.5971 GB, free: 15.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.106e-06/0.3904, allocations: 0 / 0.5971 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009489/0.3999, allocations: 3.09 MB / 0.6001 GB, free: 12.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.4, allocations: 90.11 kB / 0.6002 GB, free: 12.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.4005, allocations: 461.9 kB / 0.6006 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-05/0.4006, allocations: 45.7 kB / 0.6007 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.401, allocations: 480.9 kB / 0.6011 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.4014, allocations: 440.1 kB / 0.6015 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.4017, allocations: 218.8 kB / 0.6017 GB, free: 10.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4019, allocations: 390.7 kB / 0.6021 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009042/0.4028, allocations: 458.4 kB / 0.6026 GB, free: 9.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.4039, allocations: 0.6958 MB / 0.6032 GB, free: 8.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.406, allocations: 1.205 MB / 0.6044 GB, free: 7.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.406, allocations: 3.938 kB / 0.6044 GB, free: 7.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003096/0.4091, allocations: 1.578 MB / 0.606 GB, free: 6.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4091, allocations: 14.28 kB / 0.606 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.4091, allocations: 4 kB / 0.606 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.4107, allocations: 0.5243 MB / 0.6065 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.4116, allocations: 199.7 kB / 0.6067 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002016/0.4118, allocations: 53.19 kB / 0.6067 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.4125, allocations: 131.1 kB / 0.6069 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.4126, allocations: 48 kB / 0.6069 GB, free: 5.062 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.0004651/0.413, allocations: 265.6 kB / 0.6072 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.4132, allocations: 91.45 kB / 0.6072 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.4162, allocations: 1.536 MB / 0.6087 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.4162, allocations: 15.94 kB / 0.6088 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4162, allocations: 0 / 0.6088 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.4162, allocations: 11.97 kB / 0.6088 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004743/0.421, allocations: 2.848 MB / 0.6115 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.421, allocations: 7.938 kB / 0.6116 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.4217, allocations: 139.8 kB / 0.6117 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.4232, allocations: 0.5223 MB / 0.6122 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/0.4232, allocations: 27.98 kB / 0.6122 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/0.4236, allocations: 68.73 kB / 0.6123 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4236, allocations: 0 / 0.6123 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.4277, allocations: 2.31 MB / 0.6145 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.4282, allocations: 292.2 kB / 0.6148 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.4283, allocations: 27.92 kB / 0.6149 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.4289, allocations: 44.05 kB / 0.6149 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.4291, allocations: 81.14 kB / 0.615 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.4292, allocations: 35.98 kB / 0.615 GB, free: 12.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003805/0.4296, allocations: 310.9 kB / 0.6153 GB, free: 12.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 0 / 0.6153 GB, free: 12.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009925/0.4306, allocations: 355.2 kB / 0.6156 GB, free: 11.96 MB / 462.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.0003122/0.4309, allocations: 163 kB / 0.6158 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003116/0.434, allocations: 1.277 MB / 0.617 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.434, allocations: 0 / 0.617 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.4358, allocations: 0.6807 MB / 0.6177 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.4365, allocations: 109.8 kB / 0.6178 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.4404, allocations: 2.096 MB / 0.6199 GB, free: 7.609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.4411, allocations: 1.04 MB / 0.6209 GB, free: 6.543 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.4415, allocations: 106.8 kB / 0.621 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.4417, allocations: 63.42 kB / 0.621 GB, free: 6.371 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4417, allocations: 4 kB / 0.621 GB, free: 6.367 MB / 462.1 MB Notification: Performance of Templates: time 0.02742/0.4692, allocations: 14.96 MB / 0.6356 GB, free: 7.477 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.722383428830653]