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.SerialConnection.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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009598/0.0009599, allocations: 170 kB / 16.08 MB, free: 5.727 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.461/1.461, 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.0007927/0.0007927, allocations: 91.27 kB / 270.8 MB, free: 8.137 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.3519/0.3519, allocations: 43.67 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 58.86 MB / 491.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006607/0.1416, allocations: 5.99 MB / 497.2 MB, free: 3.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.1467, allocations: 3.005 MB / 0.4884 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.1478, allocations: 23.94 kB / 0.4885 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1491, allocations: 322.5 kB / 0.4888 GB, free: 220 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1995/0.3486, allocations: 1.137 MB / 0.4899 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.3503, allocations: 0.9046 MB / 0.4908 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.3522, allocations: 1.127 MB / 0.4919 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.3555, allocations: 2.387 MB / 0.4942 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.3564, allocations: 423.6 kB / 0.4946 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3575, allocations: 0.5503 MB / 0.4951 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.3579, allocations: 46.31 kB / 0.4952 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009664/0.3588, allocations: 230.8 kB / 0.4954 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.359, allocations: 195.8 kB / 0.4956 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.3596, allocations: 0.5341 MB / 0.4961 GB, free: 34.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.3612, allocations: 1.385 MB / 0.4975 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3612, allocations: 0 / 0.4975 GB, free: 34.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3613, allocations: 3.938 kB / 0.4975 GB, free: 34.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.3613, allocations: 0 / 0.4975 GB, free: 34.02 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003614/0.3649, allocations: 1.482 MB / 0.4989 GB, free: 33.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.365, allocations: 15.16 kB / 0.4989 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009789/0.3748, allocations: 1.437 MB / 0.5003 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3759, allocations: 0.5364 MB / 0.5008 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/0.376, allocations: 97.12 kB / 0.5009 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.3762, allocations: 130.6 kB / 0.5011 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.3783, allocations: 1.175 MB / 0.5022 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.3784, allocations: 7.047 kB / 0.5022 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3785, allocations: 51.19 kB / 0.5023 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.3785, allocations: 32.53 kB / 0.5023 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.3806, allocations: 1.442 MB / 0.5037 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/0.3876, allocations: 4.863 MB / 0.5085 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3892, allocations: 1.21 MB / 0.5096 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.3897, allocations: 374.1 kB / 0.51 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.3898, allocations: 102.4 kB / 0.5101 GB, free: 29.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3899, allocations: 45.73 kB / 0.5101 GB, free: 29.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.186e-06/0.3899, allocations: 0 / 0.5101 GB, free: 29.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.001853/0.3917, allocations: 1.209 MB / 0.5113 GB, free: 29.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.3918, allocations: 59.12 kB / 0.5114 GB, free: 29.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.3926, allocations: 0.793 MB / 0.5121 GB, free: 28.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.3927, allocations: 41.17 kB / 0.5122 GB, free: 28.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.3929, allocations: 479.5 kB / 0.5126 GB, free: 28.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.393, allocations: 310.5 kB / 0.5129 GB, free: 28.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3931, allocations: 25.75 kB / 0.513 GB, free: 28.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.3932, allocations: 398.9 kB / 0.5133 GB, free: 27.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.3938, allocations: 345 kB / 0.5137 GB, free: 27.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.3944, allocations: 0.6123 MB / 0.5143 GB, free: 27.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3955, allocations: 0.9852 MB / 0.5152 GB, free: 26.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3955, allocations: 0 / 0.5152 GB, free: 26.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001702/0.3972, allocations: 1.175 MB / 0.5164 GB, free: 26.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3973, allocations: 9.219 kB / 0.5164 GB, free: 26.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3973, allocations: 13.22 kB / 0.5164 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.3975, allocations: 66.25 kB / 0.5165 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/0.3985, allocations: 264.7 kB / 0.5167 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.3998, allocations: 2.626 MB / 0.5193 GB, free: 23.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.4006, allocations: 163 kB / 0.5194 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.4007, allocations: 47.02 kB / 0.5195 GB, free: 23.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003848/0.4011, allocations: 262.4 kB / 0.5197 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.4012, allocations: 93.03 kB / 0.5198 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.4028, allocations: 1.108 MB / 0.5209 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4028, allocations: 6.375 kB / 0.5209 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4028, allocations: 3.312 kB / 0.5209 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.4029, allocations: 10.78 kB / 0.5209 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.4058, allocations: 2.722 MB / 0.5236 GB, free: 20.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.4058, allocations: 13.22 kB / 0.5236 GB, free: 20.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.4065, allocations: 188 kB / 0.5238 GB, free: 20.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.4067, allocations: 58.23 kB / 0.5238 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.4067, allocations: 26.97 kB / 0.5239 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.408, allocations: 2.621 MB / 0.5264 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.408, allocations: 12.81 kB / 0.5264 GB, free: 17.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.4098, allocations: 1.483 MB / 0.5279 GB, free: 16.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.4101, allocations: 215 kB / 0.5281 GB, free: 16.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4102, allocations: 25.62 kB / 0.5281 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.4108, allocations: 64.7 kB / 0.5282 GB, free: 16.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4109, allocations: 79.42 kB / 0.5282 GB, free: 16.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.411, allocations: 36.34 kB / 0.5283 GB, free: 16.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005805/0.4116, allocations: 0.5527 MB / 0.5288 GB, free: 16.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4116, allocations: 0 / 0.5288 GB, free: 16.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008406/0.4124, allocations: 295.5 kB / 0.5291 GB, free: 16.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002183/0.4126, allocations: 180.1 kB / 0.5293 GB, free: 16.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.4142, allocations: 1.096 MB / 0.5303 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4142, allocations: 5.5 kB / 0.5303 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.4149, allocations: 0.6199 MB / 0.531 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4161, allocations: 131.5 kB / 0.5311 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.4188, allocations: 2.282 MB / 0.5333 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4192, allocations: 0.9921 MB / 0.5343 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006209/0.4198, allocations: 160.8 kB / 0.5344 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.42, allocations: 78.09 kB / 0.5345 GB, free: 13 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4201, allocations: 0 / 0.5345 GB, free: 13 MB / 378.7 MB Notification: Performance of Templates: time 0.01896/0.439, allocations: 9.824 MB / 0.5441 GB, free: 12.03 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches