Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 180.5 kB / 16.08 MB, free: 5.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.0007857, allocations: 88.48 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3468/0.3468, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 19.98 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006955/0.1267, allocations: 6.706 MB / 497.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1911/0.3178, allocations: 3.16 MB / 0.4893 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3191, allocations: 29.88 kB / 0.4893 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3204, allocations: 358.6 kB / 0.4897 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.3232, allocations: 1.169 MB / 0.4908 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.3254, allocations: 1.34 MB / 0.4921 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3275, allocations: 1.371 MB / 0.4934 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.3307, allocations: 2.796 MB / 0.4962 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000924/0.3316, allocations: 0.5314 MB / 0.4967 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.3323, allocations: 0.6649 MB / 0.4973 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.3325, allocations: 57.75 kB / 0.4974 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007981/0.3333, allocations: 266 kB / 0.4977 GB, free: 33.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.3335, allocations: 242.3 kB / 0.4979 GB, free: 33.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.3341, allocations: 0.624 MB / 0.4985 GB, free: 33.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3358, allocations: 1.662 MB / 0.5001 GB, free: 32.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3358, allocations: 4 kB / 0.5001 GB, free: 32.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3358, allocations: 0 / 0.5001 GB, free: 32.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.3358, allocations: 0 / 0.5001 GB, free: 32.93 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.006406/0.3423, allocations: 2.157 MB / 0.5022 GB, free: 32.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3423, allocations: 8.25 kB / 0.5022 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.3526, allocations: 1.503 MB / 0.5037 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.3538, allocations: 0.6176 MB / 0.5043 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.3539, allocations: 104.3 kB / 0.5044 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.3541, allocations: 131.3 kB / 0.5045 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.3567, allocations: 1.531 MB / 0.506 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.3568, allocations: 9.5 kB / 0.506 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.3569, allocations: 52.78 kB / 0.5061 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.357, allocations: 42.92 kB / 0.5061 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.3596, allocations: 1.585 MB / 0.5077 GB, free: 31.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.3663, allocations: 5.584 MB / 0.5131 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.3683, allocations: 2.368 MB / 0.5154 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.3691, allocations: 0.6664 MB / 0.5161 GB, free: 26.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.3693, allocations: 104.7 kB / 0.5162 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3693, allocations: 46.38 kB / 0.5162 GB, free: 26.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 3.627e-06/0.3693, allocations: 0 / 0.5162 GB, free: 26.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.008464/0.3778, allocations: 3.206 MB / 0.5194 GB, free: 25.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3779, allocations: 94.52 kB / 0.5195 GB, free: 25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.3784, allocations: 481 kB / 0.5199 GB, free: 24.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.3785, allocations: 43.73 kB / 0.52 GB, free: 24.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.3787, allocations: 485.8 kB / 0.5204 GB, free: 24.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.3789, allocations: 430.8 kB / 0.5208 GB, free: 24.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.379, allocations: 26.19 kB / 0.5209 GB, free: 24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.3791, allocations: 381.7 kB / 0.5212 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.3798, allocations: 478.3 kB / 0.5217 GB, free: 23.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008529/0.3807, allocations: 0.7433 MB / 0.5224 GB, free: 22.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.3823, allocations: 1.271 MB / 0.5236 GB, free: 22.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.3823, allocations: 3.312 kB / 0.5236 GB, free: 22.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002487/0.3848, allocations: 1.645 MB / 0.5253 GB, free: 21.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3848, allocations: 10.69 kB / 0.5253 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3848, allocations: 9.656 kB / 0.5253 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.3863, allocations: 0.5237 MB / 0.5258 GB, free: 21.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.3871, allocations: 221.8 kB / 0.526 GB, free: 21.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/0.3932, allocations: 4.703 MB / 0.5306 GB, free: 18.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.394, allocations: 131.5 kB / 0.5307 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.394, allocations: 58.09 kB / 0.5308 GB, free: 18.07 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 (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.0004186/0.3945, allocations: 281.6 kB / 0.531 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3946, allocations: 84.22 kB / 0.5311 GB, free: 17.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.397, allocations: 1.586 MB / 0.5327 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.397, allocations: 16.34 kB / 0.5327 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.397, allocations: 0 / 0.5327 GB, free: 17.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3971, allocations: 14.45 kB / 0.5327 GB, free: 17.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.4011, allocations: 2.904 MB / 0.5355 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4011, allocations: 0 / 0.5355 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.4017, allocations: 157.6 kB / 0.5357 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.4031, allocations: 0.5214 MB / 0.5362 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/0.4032, allocations: 23.91 kB / 0.5362 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006676/0.4099, allocations: 4.704 MB / 0.5408 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4099, allocations: 4.781 kB / 0.5408 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.4136, allocations: 2.308 MB / 0.5431 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.4141, allocations: 287 kB / 0.5433 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4142, allocations: 25.25 kB / 0.5434 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005764/0.4148, allocations: 60.5 kB / 0.5434 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.4151, allocations: 101.4 kB / 0.5435 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.4152, allocations: 36.61 kB / 0.5436 GB, free: 10.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003563/0.4155, allocations: 312.4 kB / 0.5439 GB, free: 10.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4155, allocations: 0 / 0.5439 GB, free: 10.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001679/0.4172, allocations: 420.7 kB / 0.5443 GB, free: 10.62 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 (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.0004215/0.4177, allocations: 169.6 kB / 0.5444 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00419/0.4219, allocations: 1.879 MB / 0.5462 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.4219, allocations: 1.75 kB / 0.5463 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.4241, allocations: 1.238 MB / 0.5475 GB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.4251, allocations: 107.9 kB / 0.5476 GB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.429, allocations: 2.703 MB / 0.5502 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.4296, allocations: 1.087 MB / 0.5513 GB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000585/0.4302, allocations: 115.5 kB / 0.5514 GB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.4304, allocations: 61.2 kB / 0.5514 GB, free: 6.496 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4304, allocations: 3.375 kB / 0.5514 GB, free: 6.496 MB / 378.7 MB Notification: Performance of Templates: time 0.02547/0.4559, allocations: 16.81 MB / 0.5679 GB, free: 8.246 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)