Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008967/0.0008968, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000704/0.0007041, allocations: 94.59 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3238/0.3238, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003962, allocations: 16 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006438/0.1159, allocations: 6.694 MB / 497.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.1199, allocations: 2.171 MB / 499.7 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/0.1205, allocations: 31.94 kB / 499.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.1211, allocations: 262.5 kB / 500 MB, free: 1.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.1228, allocations: 0.7387 MB / 0.489 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1244, allocations: 0.7328 MB / 0.4897 GB, free: 236 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1873/0.3117, allocations: 1.308 MB / 0.491 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.315, allocations: 1.614 MB / 0.4925 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008685/0.3159, allocations: 0.5054 MB / 0.493 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.3167, allocations: 0.6462 MB / 0.4937 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.3168, allocations: 57.12 kB / 0.4937 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/0.3176, allocations: 261.5 kB / 0.494 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.3178, allocations: 232.6 kB / 0.4942 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.3184, allocations: 0.5971 MB / 0.4948 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.3199, allocations: 1.314 MB / 0.4961 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3199, allocations: 3.938 kB / 0.4961 GB, free: 34.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3199, allocations: 0 / 0.4961 GB, free: 34.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.3199, allocations: 3.312 kB / 0.4961 GB, free: 34.56 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.006426/0.3264, allocations: 2.156 MB / 0.4982 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3264, allocations: 9.375 kB / 0.4982 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.3358, allocations: 1.509 MB / 0.4997 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.3371, allocations: 0.6154 MB / 0.5003 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.3372, allocations: 100.8 kB / 0.5004 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.3374, allocations: 131.8 kB / 0.5005 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.3399, allocations: 1.531 MB / 0.502 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.34, allocations: 7.344 kB / 0.502 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.3401, allocations: 54.97 kB / 0.502 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.3401, allocations: 43.56 kB / 0.5021 GB, free: 33.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.3429, allocations: 1.584 MB / 0.5036 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007654/0.3505, allocations: 5.586 MB / 0.5091 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3526, allocations: 2.368 MB / 0.5114 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.3534, allocations: 0.6673 MB / 0.512 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.3535, allocations: 100.5 kB / 0.5121 GB, free: 28.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3536, allocations: 53.38 kB / 0.5122 GB, free: 28.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 4.679e-06/0.3536, allocations: 3.984 kB / 0.5122 GB, free: 28.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.007992/0.3616, allocations: 3.213 MB / 0.5153 GB, free: 27.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.3616, allocations: 90.89 kB / 0.5154 GB, free: 27.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.3621, allocations: 482.8 kB / 0.5159 GB, free: 27.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.3622, allocations: 46.89 kB / 0.5159 GB, free: 27.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3624, allocations: 486.3 kB / 0.5164 GB, free: 27.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.3626, allocations: 427.1 kB / 0.5168 GB, free: 26.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.3627, allocations: 30.12 kB / 0.5168 GB, free: 26.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.3628, allocations: 386.2 kB / 0.5172 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007126/0.3635, allocations: 466.2 kB / 0.5176 GB, free: 26.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/0.3643, allocations: 0.7475 MB / 0.5184 GB, free: 25.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3659, allocations: 1.265 MB / 0.5196 GB, free: 24.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.366, allocations: 3.125 kB / 0.5196 GB, free: 24.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002479/0.3684, allocations: 1.649 MB / 0.5212 GB, free: 24.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3685, allocations: 6.094 kB / 0.5212 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3685, allocations: 10.19 kB / 0.5212 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3699, allocations: 0.519 MB / 0.5217 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.3706, allocations: 217.2 kB / 0.5219 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/0.3766, allocations: 4.704 MB / 0.5265 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.3775, allocations: 146.4 kB / 0.5267 GB, free: 20.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.3776, allocations: 48.72 kB / 0.5267 GB, free: 20.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * 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 initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004879/0.3781, allocations: 279.5 kB / 0.527 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3783, allocations: 80.47 kB / 0.5271 GB, free: 20.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.3808, allocations: 1.593 MB / 0.5286 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3808, allocations: 12.59 kB / 0.5286 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3808, allocations: 4 kB / 0.5286 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.3808, allocations: 13.69 kB / 0.5287 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/0.3848, allocations: 2.913 MB / 0.5315 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3848, allocations: 2.969 kB / 0.5315 GB, free: 18.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.3854, allocations: 151.3 kB / 0.5316 GB, free: 18.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.3867, allocations: 0.5175 MB / 0.5322 GB, free: 18.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.3868, allocations: 28.91 kB / 0.5322 GB, free: 18.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006672/0.3935, allocations: 4.701 MB / 0.5368 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3935, allocations: 1.031 kB / 0.5368 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.3975, allocations: 2.311 MB / 0.539 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.398, allocations: 290.9 kB / 0.5393 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3981, allocations: 22.36 kB / 0.5393 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.3987, allocations: 55.88 kB / 0.5394 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.399, allocations: 100.5 kB / 0.5395 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.47e-05/0.3991, allocations: 37.91 kB / 0.5395 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004196/0.3995, allocations: 320.1 kB / 0.5398 GB, free: 13.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3995, allocations: 0 / 0.5398 GB, free: 13.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00143/0.4009, allocations: 416.2 kB / 0.5402 GB, free: 13.39 MB / 378.7 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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.4012, allocations: 155.6 kB / 0.5404 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.4049, allocations: 1.893 MB / 0.5422 GB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4049, allocations: 1.375 kB / 0.5422 GB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.4071, allocations: 1.235 MB / 0.5434 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.408, allocations: 99.09 kB / 0.5435 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.4119, allocations: 2.638 MB / 0.5461 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.4127, allocations: 1.089 MB / 0.5472 GB, free: 9.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.413, allocations: 71.3 kB / 0.5472 GB, free: 9.395 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.413, allocations: 0 / 0.5472 GB, free: 9.395 MB / 378.7 MB Notification: Performance of Templates: time 0.02259/0.4356, allocations: 18.15 MB / 0.5649 GB, free: 11.79 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches