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.001296/0.001296, allocations: 115.7 kB / 19.17 MB, free: 3.871 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.001413/0.001413, allocations: 205 kB / 22.12 MB, free: 0.9219 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.464/1.464, allocations: 230.3 MB / 255.2 MB, free: 15.22 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.2644/0.2644, allocations: 46.93 MB / 358.2 MB, free: 10.41 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.00261/0.00261, allocations: 83.88 kB / 0.4925 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1521, allocations: 66.01 MB / 0.557 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01073/0.1628, allocations: 7.758 MB / 0.5646 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005499/0.1683, allocations: 2.454 MB / 0.5669 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1696, allocations: 31.94 kB / 0.567 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004437/0.174, allocations: 1.815 MB / 0.5688 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.1766, allocations: 0.718 MB / 0.5695 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.1795, allocations: 1.078 MB / 0.5705 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.1821, allocations: 1.417 MB / 0.5719 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.1837, allocations: 0.7781 MB / 0.5726 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1848, allocations: 0.6228 MB / 0.5733 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.1859, allocations: 0.7237 MB / 0.574 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.1862, allocations: 112 kB / 0.5741 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009985/0.1872, allocations: 331.8 kB / 0.5744 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.1875, allocations: 306.9 kB / 0.5747 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.1882, allocations: 0.6491 MB / 0.5753 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.1907, allocations: 1.766 MB / 0.577 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1907, allocations: 0 / 0.577 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1907, allocations: 4 kB / 0.577 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.1907, allocations: 0 / 0.577 GB, free: 0.8789 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.008071/0.1987, allocations: 2.417 MB / 0.5794 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1988, allocations: 8.031 kB / 0.5794 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.2089, allocations: 1.327 MB / 0.5807 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.2105, allocations: 0.6287 MB / 0.5813 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2107, allocations: 103 kB / 0.5814 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.2109, allocations: 132.4 kB / 0.5815 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.2139, allocations: 1.487 MB / 0.583 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.214, allocations: 11.89 kB / 0.583 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.2141, allocations: 56 kB / 0.5831 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.2141, allocations: 32 kB / 0.5831 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.217, allocations: 1.517 MB / 0.5846 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009032/0.226, allocations: 5.608 MB / 0.59 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.2287, allocations: 2.053 MB / 0.5921 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.2298, allocations: 0.5421 MB / 0.5926 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.23, allocations: 195.2 kB / 0.5928 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2916/0.5217, allocations: 46.25 kB / 0.5928 GB, free: 34.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.19e-06/0.5217, allocations: 0 / 0.5928 GB, free: 34.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.00938/0.531, allocations: 3.079 MB / 0.5958 GB, free: 34.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.5311, allocations: 91.03 kB / 0.5959 GB, free: 33.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.5317, allocations: 460.9 kB / 0.5963 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.5318, allocations: 46.08 kB / 0.5964 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.532, allocations: 489.4 kB / 0.5969 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.5323, allocations: 444.4 kB / 0.5973 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/0.5327, allocations: 219.3 kB / 0.5975 GB, free: 33.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5328, allocations: 384.6 kB / 0.5979 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008786/0.5337, allocations: 456.9 kB / 0.5983 GB, free: 33.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.535, allocations: 0.6969 MB / 0.599 GB, free: 32.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.5373, allocations: 1.205 MB / 0.6002 GB, free: 32.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.5373, allocations: 1.219 kB / 0.6002 GB, free: 32.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003263/0.5405, allocations: 1.584 MB / 0.6017 GB, free: 31.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5406, allocations: 8.312 kB / 0.6017 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.5406, allocations: 7.25 kB / 0.6017 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.5424, allocations: 0.5254 MB / 0.6022 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/0.5432, allocations: 197.6 kB / 0.6024 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002124/0.5434, allocations: 55.33 kB / 0.6025 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.5441, allocations: 124 kB / 0.6026 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5443, allocations: 48.31 kB / 0.6026 GB, free: 31.05 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.0004727/0.5447, allocations: 270 kB / 0.6029 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5449, allocations: 95.53 kB / 0.603 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.5477, allocations: 1.535 MB / 0.6045 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.5477, allocations: 21.02 kB / 0.6045 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5477, allocations: 1.188 kB / 0.6045 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.5478, allocations: 6.859 kB / 0.6045 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.5524, allocations: 2.845 MB / 0.6073 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5524, allocations: 4.891 kB / 0.6073 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.5531, allocations: 145.7 kB / 0.6074 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.5547, allocations: 0.5173 MB / 0.6079 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.5547, allocations: 30.39 kB / 0.608 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.5551, allocations: 65.86 kB / 0.608 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5551, allocations: 1.125 kB / 0.608 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.5589, allocations: 2.317 MB / 0.6103 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.5593, allocations: 290.9 kB / 0.6106 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.5594, allocations: 22.23 kB / 0.6106 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.56, allocations: 43.78 kB / 0.6106 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.5602, allocations: 80.94 kB / 0.6107 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.5603, allocations: 35.42 kB / 0.6107 GB, free: 27.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.5606, allocations: 309.9 kB / 0.611 GB, free: 26.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5606, allocations: 7.828 kB / 0.611 GB, free: 26.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001087/0.5617, allocations: 346.8 kB / 0.6114 GB, free: 26.76 MB / 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.0002841/0.562, allocations: 162.8 kB / 0.6115 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.565, allocations: 1.273 MB / 0.6128 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.565, allocations: 1 kB / 0.6128 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.5669, allocations: 0.6869 MB / 0.6134 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.5676, allocations: 98.36 kB / 0.6135 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.5715, allocations: 2.129 MB / 0.6156 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.5721, allocations: 1.042 MB / 0.6166 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.5724, allocations: 81.73 kB / 0.6167 GB, free: 24.06 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5724, allocations: 0 / 0.6167 GB, free: 24.06 MB / 446.1 MB Notification: Performance of Templates: time 0.01929/0.5917, allocations: 16.93 MB / 0.6333 GB, free: 13.05 MB / 446.1 MB " [Timeout remaining time 659] 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.858232202008367]