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.001513/0.001513, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001745/0.001745, allocations: 217 kB / 24.5 MB, free: 4.133 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.395/1.395, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.2185/0.2185, allocations: 46.93 MB / 361.5 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] 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.002318/0.002318, allocations: 79.88 kB / 0.4974 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2842, allocations: 66.07 MB / 0.562 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009844/0.294, allocations: 7.811 MB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.2988, allocations: 2.445 MB / 0.572 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000963/0.2998, allocations: 27.94 kB / 0.572 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.3041, allocations: 1.831 MB / 0.5738 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.3064, allocations: 0.719 MB / 0.5745 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.309, allocations: 1.081 MB / 0.5755 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.3111, allocations: 1.417 MB / 0.5769 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.3128, allocations: 0.9301 MB / 0.5778 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.3138, allocations: 0.6189 MB / 0.5784 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.315, allocations: 0.7276 MB / 0.5791 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003007/0.3153, allocations: 119.9 kB / 0.5793 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009388/0.3162, allocations: 335.8 kB / 0.5796 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.3166, allocations: 294.9 kB / 0.5799 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009071/0.3175, allocations: 0.653 MB / 0.5805 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.3201, allocations: 1.77 MB / 0.5822 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3201, allocations: 0 / 0.5822 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3202, allocations: 0 / 0.5822 GB, free: 15.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.983e-05/0.3202, allocations: 3.938 kB / 0.5822 GB, free: 15.4 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.007743/0.328, allocations: 2.346 MB / 0.5845 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.328, allocations: 12.03 kB / 0.5845 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009543/0.3375, allocations: 1.331 MB / 0.5858 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.3391, allocations: 0.5606 MB / 0.5864 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.3392, allocations: 99.02 kB / 0.5865 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/0.3397, allocations: 128.4 kB / 0.5866 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.343, allocations: 1.494 MB / 0.5881 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.343, allocations: 7.938 kB / 0.5881 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.3432, allocations: 56 kB / 0.5881 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.3432, allocations: 36 kB / 0.5882 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.346, allocations: 1.521 MB / 0.5896 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009298/0.3553, allocations: 5.049 MB / 0.5946 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.3575, allocations: 1.076 MB / 0.5956 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.3585, allocations: 0.5499 MB / 0.5962 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.3587, allocations: 44.89 kB / 0.5962 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.3587, allocations: 47.56 kB / 0.5962 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 2.955e-06/0.3587, allocations: 0 / 0.5962 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009034/0.3678, allocations: 2.998 MB / 0.5992 GB, free: 13.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.3678, allocations: 94.05 kB / 0.5993 GB, free: 13.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.3686, allocations: 465.9 kB / 0.5997 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3687, allocations: 45.7 kB / 0.5998 GB, free: 13.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.369, allocations: 480.8 kB / 0.6002 GB, free: 12.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004431/0.3695, allocations: 448.2 kB / 0.6006 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.3699, allocations: 214.8 kB / 0.6008 GB, free: 11.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3701, allocations: 386.7 kB / 0.6012 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009/0.371, allocations: 458.4 kB / 0.6016 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3721, allocations: 0.6997 MB / 0.6023 GB, free: 10.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.3742, allocations: 1.205 MB / 0.6035 GB, free: 9.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.3742, allocations: 4 kB / 0.6035 GB, free: 9.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003247/0.3775, allocations: 1.574 MB / 0.6051 GB, free: 7.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3775, allocations: 8 kB / 0.6051 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3775, allocations: 8 kB / 0.6051 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.3791, allocations: 0.5243 MB / 0.6056 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.38, allocations: 203.6 kB / 0.6058 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/0.3802, allocations: 53.2 kB / 0.6058 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.381, allocations: 131 kB / 0.6059 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3811, allocations: 51.98 kB / 0.606 GB, free: 6.449 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.0005393/0.3816, allocations: 266.9 kB / 0.6063 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.3818, allocations: 83.48 kB / 0.6063 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.3849, allocations: 1.552 MB / 0.6078 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.3849, allocations: 19.94 kB / 0.6079 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3849, allocations: 0 / 0.6079 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.3849, allocations: 7.969 kB / 0.6079 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.3901, allocations: 2.82 MB / 0.6106 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.3901, allocations: 0 / 0.6106 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.3907, allocations: 143.8 kB / 0.6108 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.3923, allocations: 0.5223 MB / 0.6113 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/0.3923, allocations: 24 kB / 0.6113 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003/0.3926, allocations: 64.73 kB / 0.6114 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3927, allocations: 7.938 kB / 0.6114 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.3969, allocations: 2.318 MB / 0.6136 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.3974, allocations: 207.1 kB / 0.6138 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.3976, allocations: 23.94 kB / 0.6139 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.3983, allocations: 52.03 kB / 0.6139 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.3984, allocations: 77.16 kB / 0.614 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.3985, allocations: 39.98 kB / 0.614 GB, free: 14.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004414/0.399, allocations: 310.9 kB / 0.6143 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 3.938 kB / 0.6143 GB, free: 13.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4001, allocations: 347.2 kB / 0.6146 GB, free: 13.48 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.0004384/0.4006, allocations: 163 kB / 0.6148 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.404, allocations: 1.276 MB / 0.616 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.404, allocations: 0 / 0.616 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.4059, allocations: 0.6891 MB / 0.6167 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.4068, allocations: 93.95 kB / 0.6168 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.4117, allocations: 2.138 MB / 0.6189 GB, free: 9.086 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.4125, allocations: 1.044 MB / 0.6199 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.4128, allocations: 79.41 kB / 0.62 GB, free: 7.938 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4128, allocations: 0 / 0.62 GB, free: 7.938 MB / 462.1 MB Notification: Performance of Templates: time 0.02341/0.4362, allocations: 16.92 MB / 0.6365 GB, free: 6.996 MB / 478.1 MB " [Timeout remaining time 660] 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/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_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: 7.875779123045504]