Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001648/0.001653, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001206/0.001206, allocations: 88.06 kB / 270.9 MB, free: 8.371 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.5281/0.5281, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.3443/0.4743, allocations: 15.93 MB / 0.4943 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.4886, allocations: 4.741 MB / 0.4989 GB, free: 33.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00495/0.4936, allocations: 130.5 kB / 0.499 GB, free: 33.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004975/0.4986, allocations: 0.9619 MB / 0.5 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.5088, allocations: 1.872 MB / 0.5018 GB, free: 33.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005466/0.5143, allocations: 0.9576 MB / 0.5027 GB, free: 33.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01605/0.5303, allocations: 7.88 MB / 0.5104 GB, free: 29.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.052/0.5824, allocations: 21.14 MB / 0.5311 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009599/0.5921, allocations: 4.163 MB / 0.5351 GB, free: 17.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01141/0.6035, allocations: 4.735 MB / 0.5398 GB, free: 15.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004197/0.6078, allocations: 0.6844 MB / 0.5404 GB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007651/0.6155, allocations: 0.8383 MB / 0.5413 GB, free: 15.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00534/0.6209, allocations: 2.257 MB / 0.5435 GB, free: 14.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006436/0.6274, allocations: 2.36 MB / 0.5458 GB, free: 12.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02876/0.6562, allocations: 19.81 MB / 0.5651 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.6562, allocations: 0 / 0.5651 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6563, allocations: 0 / 0.5651 GB, free: 14.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007632/0.657, allocations: 0 / 0.5651 GB, free: 14.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05292/0.71, allocations: 12.16 MB / 0.577 GB, free: 2.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.71, allocations: 12.03 kB / 0.577 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1032/0.8133, allocations: 12.48 MB / 0.5892 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/0.8358, allocations: 6.667 MB / 0.5957 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001475/0.8373, allocations: 0.9041 MB / 0.5966 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006039/0.8434, allocations: 1.183 MB / 0.5977 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06782/0.9113, allocations: 18.83 MB / 0.6161 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008263/0.9122, allocations: 23.77 kB / 0.6161 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005058/0.9172, allocations: 0.4999 MB / 0.6166 GB, free: 9.523 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001207/0.9185, allocations: 0.6817 MB / 0.6173 GB, free: 8.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06594/0.9845, allocations: 19.72 MB / 0.6366 GB, free: 5.094 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8618/1.846, allocations: 62.11 MB / 0.6972 GB, free: 90.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03504/1.881, allocations: 20.08 MB / 0.7168 GB, free: 79.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.883, allocations: 246.6 kB / 0.7171 GB, free: 79.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/1.883, allocations: 112.4 kB / 0.7172 GB, free: 79.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=674): time 1.746e-05/1.883, allocations: 0 / 0.7172 GB, free: 79.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=674): time 0.05347/1.936, allocations: 12.39 MB / 0.7293 GB, free: 74.76 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.936, allocations: 127.7 kB / 0.7294 GB, free: 74.68 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0337/1.97, allocations: 8.595 MB / 0.7378 GB, free: 71.85 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002009/1.972, allocations: 138.5 kB / 0.7379 GB, free: 71.73 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006348/1.979, allocations: 4.172 MB / 0.742 GB, free: 68.36 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004496/1.983, allocations: 2.262 MB / 0.7442 GB, free: 66.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002191/1.986, allocations: 162.5 kB / 0.7443 GB, free: 66.49 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001116/1.987, allocations: 0.6402 MB / 0.745 GB, free: 66.03 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0168/2.004, allocations: 4.156 MB / 0.749 GB, free: 64.68 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01951/2.023, allocations: 7.183 MB / 0.756 GB, free: 59.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/2.039, allocations: 5.722 MB / 0.7616 GB, free: 56.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/2.039, allocations: 30.12 kB / 0.7617 GB, free: 56.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=1034) (initialization): time 0.03228/2.071, allocations: 11.9 MB / 0.7733 GB, free: 50.42 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/2.071, allocations: 54.48 kB / 0.7733 GB, free: 50.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/2.071, allocations: 102.5 kB / 0.7734 GB, free: 50.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/2.073, allocations: 412.5 kB / 0.7738 GB, free: 50.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/2.088, allocations: 2.098 MB / 0.7759 GB, free: 49.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00773/2.096, allocations: 8.803 MB / 0.7845 GB, free: 41.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/2.107, allocations: 1.388 MB / 0.7858 GB, free: 40.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/2.109, allocations: 400.4 kB / 0.7862 GB, free: 40.08 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * 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 (1028): * Single equations (assignments): 1022 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0127/2.122, allocations: 4.665 MB / 0.7908 GB, free: 35.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002156/2.124, allocations: 0.7175 MB / 0.7915 GB, free: 34.76 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03049/2.154, allocations: 10.99 MB / 0.8022 GB, free: 23.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/2.155, allocations: 68 kB / 0.8023 GB, free: 23.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/2.155, allocations: 0 / 0.8023 GB, free: 23.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001839/2.155, allocations: 39.86 kB / 0.8023 GB, free: 23.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6813/2.836, allocations: 158.4 MB / 0.957 GB, free: 111.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003905/2.837, allocations: 88 kB / 0.9571 GB, free: 111.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01147/2.848, allocations: 1.564 MB / 0.9586 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/2.85, allocations: 376.6 kB / 0.959 GB, free: 109.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001736/2.851, allocations: 259.7 kB / 0.9592 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007845/2.859, allocations: 8.69 MB / 0.9677 GB, free: 99.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-05/2.859, allocations: 139.4 kB / 0.9678 GB, free: 99.45 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0418/2.901, allocations: 34.5 MB / 1.002 GB, free: 61.11 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007406/2.909, allocations: 2.033 MB / 1.004 GB, free: 59.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003401/2.912, allocations: 251.9 kB / 1.004 GB, free: 58.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009949/2.922, allocations: 0.5581 MB / 1.004 GB, free: 58.3 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002445/2.925, allocations: 0.7384 MB / 1.005 GB, free: 57.56 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001507/2.926, allocations: 312 kB / 1.005 GB, free: 57.26 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01482/2.941, allocations: 6.007 MB / 1.011 GB, free: 51.27 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.172e-06/2.941, allocations: 7.938 kB / 1.011 GB, free: 51.26 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01418/2.955, allocations: 2.681 MB / 1.014 GB, free: 48.57 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_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 (741): * Single equations (assignments): 735 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00251/2.958, allocations: 0.4914 MB / 1.014 GB, free: 48.08 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02523/2.983, allocations: 10.5 MB / 1.025 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.134e-05/2.983, allocations: 14.44 kB / 1.025 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01317/2.996, allocations: 5.46 MB / 1.03 GB, free: 31.96 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/3.01, allocations: 1.371 MB / 1.031 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09134/3.101, allocations: 28.03 MB / 1.059 GB, free: 1.328 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02825/3.129, allocations: 7.807 MB / 1.066 GB, free: 9.477 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008482/3.138, allocations: 0.6478 MB / 1.067 GB, free: 8.828 MB / 0.5418 GB Notification: Performance of SimCode: time 2.364e-06/3.138, allocations: 4 kB / 1.067 GB, free: 8.824 MB / 0.5418 GB Notification: Performance of Templates: time 2.043/5.181, allocations: 0.5138 GB / 1.581 GB, free: 109.9 MB / 0.5574 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches