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.006454/0.006454, allocations: 103.2 kB / 21.97 MB, free: 5.211 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.001459/0.001459, allocations: 224.6 kB / 25.3 MB, free: 3.211 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.468/1.468, allocations: 230.5 MB / 258.9 MB, free: 8.027 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.2374/0.2374, allocations: 46.93 MB / 362.3 MB, free: 4.219 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.00231/0.00231, allocations: 79.86 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3238, allocations: 66.08 MB / 0.5627 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009927/0.3337, allocations: 7.811 MB / 0.5704 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.3392, allocations: 2.446 MB / 0.5728 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.3402, allocations: 31.94 kB / 0.5728 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.3446, allocations: 1.827 MB / 0.5746 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.3471, allocations: 0.7138 MB / 0.5753 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.3496, allocations: 1.074 MB / 0.5763 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.3517, allocations: 1.421 MB / 0.5777 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.3531, allocations: 0.9301 MB / 0.5786 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008145/0.354, allocations: 0.619 MB / 0.5792 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.3548, allocations: 0.7314 MB / 0.5799 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.355, allocations: 112 kB / 0.58 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007829/0.3558, allocations: 335.8 kB / 0.5804 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.356, allocations: 294.9 kB / 0.5806 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.3567, allocations: 0.653 MB / 0.5813 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.359, allocations: 1.773 MB / 0.583 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.359, allocations: 4 kB / 0.583 GB, free: 15.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.359, allocations: 3.938 kB / 0.583 GB, free: 15.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.3591, allocations: 3.938 kB / 0.583 GB, free: 15.39 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.007585/0.3666, allocations: 2.342 MB / 0.5853 GB, free: 13.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3667, allocations: 12.03 kB / 0.5853 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.3762, allocations: 1.331 MB / 0.5866 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.3777, allocations: 0.5606 MB / 0.5872 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.523e-05/0.3778, allocations: 103 kB / 0.5873 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.378, allocations: 128.4 kB / 0.5874 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.3809, allocations: 1.49 MB / 0.5888 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.3809, allocations: 7.953 kB / 0.5888 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.381, allocations: 56 kB / 0.5889 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.3811, allocations: 36 kB / 0.5889 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.3838, allocations: 1.521 MB / 0.5904 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008331/0.3922, allocations: 5.049 MB / 0.5954 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.3942, allocations: 1.084 MB / 0.5964 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.3952, allocations: 0.546 MB / 0.5969 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.3954, allocations: 40.95 kB / 0.597 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3954, allocations: 43.56 kB / 0.597 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.797e-06/0.3954, allocations: 0 / 0.597 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008589/0.404, allocations: 3.002 MB / 0.6 GB, free: 13.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.4041, allocations: 94.14 kB / 0.6 GB, free: 13.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.4046, allocations: 469.9 kB / 0.6005 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.4047, allocations: 45.7 kB / 0.6005 GB, free: 13.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.4051, allocations: 476.9 kB / 0.601 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.4054, allocations: 444.2 kB / 0.6014 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.4058, allocations: 218.8 kB / 0.6016 GB, free: 11.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.406, allocations: 386.7 kB / 0.602 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/0.4069, allocations: 458.4 kB / 0.6024 GB, free: 11.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4079, allocations: 0.6918 MB / 0.6031 GB, free: 10.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.4099, allocations: 1.206 MB / 0.6043 GB, free: 9.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.41, allocations: 8 kB / 0.6043 GB, free: 9.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003069/0.413, allocations: 1.582 MB / 0.6058 GB, free: 7.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4131, allocations: 8 kB / 0.6058 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.4131, allocations: 4 kB / 0.6058 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.4146, allocations: 0.528 MB / 0.6064 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.4154, allocations: 195.7 kB / 0.6065 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001897/0.4156, allocations: 53.19 kB / 0.6066 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.4162, allocations: 131 kB / 0.6067 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.4163, allocations: 51.94 kB / 0.6068 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.0005041/0.4168, allocations: 277.5 kB / 0.607 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.417, allocations: 87.42 kB / 0.6071 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.4199, allocations: 1.54 MB / 0.6086 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.4199, allocations: 15.94 kB / 0.6086 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4199, allocations: 0 / 0.6086 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4199, allocations: 7.969 kB / 0.6086 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.4247, allocations: 2.816 MB / 0.6114 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4247, allocations: 0 / 0.6114 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.4254, allocations: 151.7 kB / 0.6115 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.4268, allocations: 0.5184 MB / 0.6121 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.4269, allocations: 24 kB / 0.6121 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002938/0.4272, allocations: 72.72 kB / 0.6121 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4272, allocations: 4 kB / 0.6121 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/0.4313, allocations: 2.325 MB / 0.6144 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.4317, allocations: 203 kB / 0.6146 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.4319, allocations: 23.94 kB / 0.6146 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.4324, allocations: 47.97 kB / 0.6147 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.4326, allocations: 77.22 kB / 0.6148 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.4327, allocations: 47.98 kB / 0.6148 GB, free: 14.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003698/0.4331, allocations: 306.9 kB / 0.6151 GB, free: 13.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4331, allocations: 0 / 0.6151 GB, free: 13.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009249/0.434, allocations: 347.2 kB / 0.6154 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.0002969/0.4343, allocations: 163 kB / 0.6156 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.4373, allocations: 1.277 MB / 0.6168 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4373, allocations: 0 / 0.6168 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.439, allocations: 0.6843 MB / 0.6175 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.0006433/0.4396, allocations: 101.8 kB / 0.6176 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.4432, allocations: 2.137 MB / 0.6197 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.4439, allocations: 1.036 MB / 0.6207 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.4442, allocations: 79.41 kB / 0.6208 GB, free: 7.938 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4442, allocations: 0 / 0.6208 GB, free: 7.938 MB / 462.1 MB Notification: Performance of Templates: time 0.02256/0.4667, allocations: 16.93 MB / 0.6373 GB, free: 6.992 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 -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/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-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: 8.560115982079878]