Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001958/0.001958, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002484/0.002484, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.571/1.571, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2578/0.2578, allocations: 46.89 MB / 361.3 MB, free: 4.457 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 75.88 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.421, allocations: 66.03 MB / 0.5615 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01075/0.4317, allocations: 7.801 MB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.4378, allocations: 2.458 MB / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.4385, allocations: 27.94 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004377/0.4429, allocations: 1.831 MB / 0.5734 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.445, allocations: 0.7122 MB / 0.5741 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.4476, allocations: 1.085 MB / 0.5751 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.4497, allocations: 1.417 MB / 0.5765 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.4512, allocations: 0.7671 MB / 0.5773 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/0.4521, allocations: 0.6228 MB / 0.5779 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.453, allocations: 0.7237 MB / 0.5786 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.4532, allocations: 116 kB / 0.5787 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.454, allocations: 343.8 kB / 0.579 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4543, allocations: 298.9 kB / 0.5793 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.455, allocations: 0.6569 MB / 0.5799 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.4574, allocations: 1.762 MB / 0.5817 GB, free: 15.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4574, allocations: 4 kB / 0.5817 GB, free: 15.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4574, allocations: 3.938 kB / 0.5817 GB, free: 15.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.4574, allocations: 0 / 0.5817 GB, free: 15.91 MB / 430.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.008237/0.4657, allocations: 2.346 MB / 0.5839 GB, free: 13.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4657, allocations: 8.031 kB / 0.584 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.4759, allocations: 1.327 MB / 0.5853 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.4775, allocations: 0.5644 MB / 0.5858 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.4776, allocations: 99.02 kB / 0.5859 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.478, allocations: 132.4 kB / 0.586 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/0.4817, allocations: 1.49 MB / 0.5875 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/0.4817, allocations: 7.953 kB / 0.5875 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.4819, allocations: 56 kB / 0.5875 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.4819, allocations: 35.98 kB / 0.5876 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/0.4853, allocations: 1.517 MB / 0.5891 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.4954, allocations: 5.053 MB / 0.594 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.4977, allocations: 1.068 MB / 0.595 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.4987, allocations: 0.5538 MB / 0.5956 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.4989, allocations: 52.88 kB / 0.5956 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.4989, allocations: 43.56 kB / 0.5957 GB, free: 1.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 2.695e-06/0.4989, allocations: 0 / 0.5957 GB, free: 1.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009647/0.5086, allocations: 3.002 MB / 0.5986 GB, free: 14.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.5087, allocations: 90.11 kB / 0.5987 GB, free: 14.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/0.5094, allocations: 465.9 kB / 0.5991 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.5095, allocations: 41.7 kB / 0.5992 GB, free: 13.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.5099, allocations: 484.9 kB / 0.5996 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.5104, allocations: 444.2 kB / 0.6001 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004177/0.5108, allocations: 218.8 kB / 0.6003 GB, free: 12.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.511, allocations: 386.7 kB / 0.6006 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.5119, allocations: 454.4 kB / 0.6011 GB, free: 11.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5131, allocations: 0.7035 MB / 0.6018 GB, free: 10.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.5153, allocations: 1.206 MB / 0.6029 GB, free: 9.535 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.5153, allocations: 7.984 kB / 0.6029 GB, free: 9.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003272/0.5185, allocations: 1.578 MB / 0.6045 GB, free: 7.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.5186, allocations: 8 kB / 0.6045 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.5186, allocations: 8 kB / 0.6045 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.5202, allocations: 0.5243 MB / 0.605 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.5211, allocations: 203.6 kB / 0.6052 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002142/0.5213, allocations: 53.2 kB / 0.6053 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000747/0.522, allocations: 127 kB / 0.6054 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5221, allocations: 55.98 kB / 0.6054 GB, free: 6.961 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.0005078/0.5226, allocations: 263.4 kB / 0.6057 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.5228, allocations: 83.48 kB / 0.6058 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.5259, allocations: 1.548 MB / 0.6073 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.526, allocations: 19.94 kB / 0.6073 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.526, allocations: 0 / 0.6073 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.526, allocations: 11.97 kB / 0.6073 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/0.5316, allocations: 2.812 MB / 0.61 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5316, allocations: 0 / 0.61 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.5323, allocations: 147.8 kB / 0.6102 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.5339, allocations: 0.5184 MB / 0.6107 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/0.534, allocations: 27.98 kB / 0.6107 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003547/0.5344, allocations: 64.73 kB / 0.6108 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5344, allocations: 7.938 kB / 0.6108 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/0.5388, allocations: 2.318 MB / 0.6131 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005651/0.5394, allocations: 203.1 kB / 0.6132 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.5396, allocations: 27.94 kB / 0.6133 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.5403, allocations: 52.03 kB / 0.6133 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.5405, allocations: 85.09 kB / 0.6134 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/0.5406, allocations: 35.98 kB / 0.6134 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004429/0.541, allocations: 310.8 kB / 0.6137 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.541, allocations: 0 / 0.6137 GB, free: 14.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001178/0.5422, allocations: 351.2 kB / 0.6141 GB, free: 14 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.0003651/0.5426, allocations: 175 kB / 0.6142 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.5458, allocations: 1.272 MB / 0.6155 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5458, allocations: 0 / 0.6155 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/0.5477, allocations: 0.6813 MB / 0.6161 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.5485, allocations: 96.28 kB / 0.6162 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.5528, allocations: 2.091 MB / 0.6183 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/0.5536, allocations: 1.048 MB / 0.6193 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005063/0.5541, allocations: 110.8 kB / 0.6194 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5544, allocations: 63.42 kB / 0.6195 GB, free: 8.406 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5544, allocations: 0 / 0.6195 GB, free: 8.406 MB / 462.1 MB Notification: Performance of Templates: time 0.02962/0.584, allocations: 15.31 MB / 0.6344 GB, free: 9.168 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.196373131126165]