Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09051, allocations: 63.56 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006524/0.09707, allocations: 6.911 MB / 490 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1002, allocations: 2.311 MB / 492.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.1005, allocations: 27.94 kB / 492.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.1011, allocations: 342.5 kB / 492.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1024, allocations: 0.6287 MB / 493.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.1037, allocations: 0.6934 MB / 494 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009955/0.1047, allocations: 1.194 MB / 495.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.1075, allocations: 1.677 MB / 496.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.108, allocations: 446 kB / 497.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.1085, allocations: 0.5833 MB / 497.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.099e-05/0.1086, allocations: 52 kB / 497.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.109, allocations: 239.8 kB / 498.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1092, allocations: 211 kB / 498.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.1096, allocations: 0.5573 MB / 498.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.1109, allocations: 1.522 MB / 0.4887 GB, free: 2.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1109, allocations: 0 / 0.4887 GB, free: 2.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1109, allocations: 3.938 kB / 0.4887 GB, free: 2.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1109, allocations: 0 / 0.4887 GB, free: 2.703 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003852/0.1148, allocations: 1.576 MB / 0.4902 GB, free: 1.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1148, allocations: 8.031 kB / 0.4903 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009797/0.1246, allocations: 1.338 MB / 0.4916 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.1253, allocations: 0.5528 MB / 0.4921 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.1254, allocations: 103 kB / 0.4922 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.1256, allocations: 132.1 kB / 0.4923 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.1278, allocations: 1.249 MB / 0.4935 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.1278, allocations: 11.84 kB / 0.4936 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.128, allocations: 56 kB / 0.4936 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.128, allocations: 32 kB / 0.4936 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.1304, allocations: 1.459 MB / 0.4951 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007523/0.1379, allocations: 5.86 MB / 0.5008 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.1397, allocations: 0.9576 MB / 0.5017 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.1403, allocations: 371.7 kB / 0.5021 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.1404, allocations: 187.2 kB / 0.5023 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1405, allocations: 39.56 kB / 0.5023 GB, free: 4.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.1405, allocations: 4 kB / 0.5023 GB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002152/0.1426, allocations: 1.222 MB / 0.5035 GB, free: 2.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1427, allocations: 60.41 kB / 0.5035 GB, free: 2.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.1436, allocations: 0.8247 MB / 0.5044 GB, free: 1.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.1437, allocations: 41.7 kB / 0.5044 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.144, allocations: 0.5024 MB / 0.5049 GB, free: 1.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.1442, allocations: 303.6 kB / 0.5052 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1443, allocations: 89.67 kB / 0.5053 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1445, allocations: 406.6 kB / 0.5056 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.1451, allocations: 354.5 kB / 0.506 GB, free: 220 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1742/0.3193, allocations: 0.6143 MB / 0.5066 GB, free: 28.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3208, allocations: 1.002 MB / 0.5076 GB, free: 28.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3208, allocations: 2.812 kB / 0.5076 GB, free: 28.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002014/0.3228, allocations: 1.19 MB / 0.5087 GB, free: 28.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3229, allocations: 10.94 kB / 0.5087 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3229, allocations: 9.219 kB / 0.5087 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.3231, allocations: 72.89 kB / 0.5088 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.3241, allocations: 262 kB / 0.5091 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.3255, allocations: 2.628 MB / 0.5116 GB, free: 25.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/0.3263, allocations: 166.6 kB / 0.5118 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.3264, allocations: 47.02 kB / 0.5118 GB, free: 25.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.00035/0.3268, allocations: 257.6 kB / 0.5121 GB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3269, allocations: 93.27 kB / 0.5122 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.3288, allocations: 1.121 MB / 0.5133 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3288, allocations: 11.22 kB / 0.5133 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3288, allocations: 6.234 kB / 0.5133 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3288, allocations: 4.594 kB / 0.5133 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.3322, allocations: 3.162 MB / 0.5164 GB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.3322, allocations: 5.125 kB / 0.5164 GB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.3329, allocations: 178.7 kB / 0.5166 GB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.3331, allocations: 65.42 kB / 0.5166 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.3332, allocations: 28.19 kB / 0.5166 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.3344, allocations: 2.628 MB / 0.5192 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3345, allocations: 9.688 kB / 0.5192 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.3364, allocations: 1.485 MB / 0.5207 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.3366, allocations: 218.5 kB / 0.5209 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3367, allocations: 24.56 kB / 0.5209 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.3374, allocations: 62.47 kB / 0.521 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3375, allocations: 79.05 kB / 0.521 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.3376, allocations: 33.81 kB / 0.5211 GB, free: 20.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006586/0.3382, allocations: 0.5785 MB / 0.5216 GB, free: 20.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3382, allocations: 2.625 kB / 0.5216 GB, free: 20.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008898/0.3391, allocations: 308.4 kB / 0.5219 GB, free: 20.23 MB / 382.1 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 (93): * Single equations (assignments): 91 * 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.0002207/0.3394, allocations: 178.4 kB / 0.5221 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.3411, allocations: 1.095 MB / 0.5232 GB, free: 19.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3411, allocations: 2 kB / 0.5232 GB, free: 19.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.3419, allocations: 0.6263 MB / 0.5238 GB, free: 19.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.3432, allocations: 129.4 kB / 0.5239 GB, free: 19.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.3459, allocations: 2.357 MB / 0.5262 GB, free: 17.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3463, allocations: 1.019 MB / 0.5272 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006328/0.347, allocations: 154.1 kB / 0.5273 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.3472, allocations: 83.5 kB / 0.5274 GB, free: 16.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3472, allocations: 4 kB / 0.5274 GB, free: 16.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01538/0.3626, allocations: 10.04 MB / 0.5372 GB, free: 14.59 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches