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.0009037/0.0009037, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.3/1.3, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007622/0.0007623, allocations: 90.36 kB / 271.2 MB, free: 8.234 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.3027/0.3027, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 19.98 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 58.84 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.1925/0.2949, allocations: 17.29 MB / 0.4962 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009231/0.3042, allocations: 4.56 MB / 0.5007 GB, free: 34.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.3075, allocations: 126.1 kB / 0.5008 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.3102, allocations: 0.8881 MB / 0.5016 GB, free: 33.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.3166, allocations: 1.988 MB / 0.5036 GB, free: 33.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3195, allocations: 0.9576 MB / 0.5045 GB, free: 32.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.331, allocations: 11.84 MB / 0.5161 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03253/0.3636, allocations: 24.93 MB / 0.5404 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008337/0.3719, allocations: 4.589 MB / 0.5449 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.3827, allocations: 5.288 MB / 0.5501 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002724/0.3855, allocations: 0.686 MB / 0.5507 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005663/0.3911, allocations: 0.8767 MB / 0.5516 GB, free: 9.949 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002844/0.394, allocations: 2.343 MB / 0.5539 GB, free: 7.996 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009938/0.404, allocations: 5.424 MB / 0.5592 GB, free: 2.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02009/0.4241, allocations: 19.83 MB / 0.5786 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4241, allocations: 0 / 0.5786 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4241, allocations: 4 kB / 0.5786 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007441/0.4249, allocations: 0 / 0.5786 GB, free: 0.9766 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.03022/0.4551, allocations: 12.04 MB / 0.5903 GB, free: 4.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4552, allocations: 12.03 kB / 0.5903 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05773/0.5129, allocations: 12.49 MB / 0.6025 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.5272, allocations: 6.57 MB / 0.6089 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/0.5283, allocations: 0.9071 MB / 0.6098 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004288/0.5326, allocations: 1.187 MB / 0.611 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04237/0.575, allocations: 18.96 MB / 0.6295 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003857/0.5754, allocations: 19.8 kB / 0.6295 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002745/0.5781, allocations: 0.4921 MB / 0.63 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006353/0.5788, allocations: 0.6895 MB / 0.6307 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03772/0.6165, allocations: 19.74 MB / 0.6499 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4585/1.075, allocations: 62.41 MB / 0.7109 GB, free: 90.38 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02075/1.096, allocations: 20.12 MB / 0.7305 GB, free: 75.97 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007356/1.103, allocations: 4.611 MB / 0.735 GB, free: 74.38 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/1.104, allocations: 239.8 kB / 0.7353 GB, free: 74.27 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/1.104, allocations: 104.6 kB / 0.7354 GB, free: 74.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=674): time 8.095e-06/1.104, allocations: 0 / 0.7354 GB, free: 74.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=674): time 0.0175/1.121, allocations: 12.51 MB / 0.7476 GB, free: 69.49 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.122, allocations: 120.2 kB / 0.7477 GB, free: 69.42 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/1.133, allocations: 8.677 MB / 0.7562 GB, free: 64.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.134, allocations: 132.3 kB / 0.7563 GB, free: 64.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002699/1.137, allocations: 4.602 MB / 0.7608 GB, free: 60.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002071/1.139, allocations: 2.261 MB / 0.763 GB, free: 58.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/1.139, allocations: 165.9 kB / 0.7632 GB, free: 58.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003306/1.14, allocations: 0.6331 MB / 0.7638 GB, free: 58.26 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005259/1.145, allocations: 4.166 MB / 0.7678 GB, free: 56.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006862/1.152, allocations: 7.206 MB / 0.7749 GB, free: 49.83 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.166, allocations: 12.36 MB / 0.787 GB, free: 40.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/1.166, allocations: 28 kB / 0.787 GB, free: 40.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01921/1.185, allocations: 12.34 MB / 0.799 GB, free: 27.62 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/1.185, allocations: 48 kB / 0.7991 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.185, allocations: 100 kB / 0.7992 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008542/1.186, allocations: 429.4 kB / 0.7996 GB, free: 27.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006905/1.193, allocations: 2.098 MB / 0.8016 GB, free: 24.94 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/1.198, allocations: 8.936 MB / 0.8104 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/1.205, allocations: 1.396 MB / 0.8117 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.206, allocations: 399.9 kB / 0.8121 GB, free: 13.41 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.009447/1.216, allocations: 4.656 MB / 0.8166 GB, free: 8.734 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.217, allocations: 0.7136 MB / 0.8173 GB, free: 8.012 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/1.233, allocations: 11.02 MB / 0.8281 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/1.233, allocations: 72 kB / 0.8282 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.233, allocations: 3.938 kB / 0.8282 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/1.233, allocations: 35.86 kB / 0.8282 GB, free: 12.77 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3578/1.591, allocations: 159.2 MB / 0.9836 GB, free: 84.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002468/1.591, allocations: 88 kB / 0.9837 GB, free: 84.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005493/1.597, allocations: 1.575 MB / 0.9853 GB, free: 82.62 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008421/1.597, allocations: 376.3 kB / 0.9856 GB, free: 82.24 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009403/1.598, allocations: 257 kB / 0.9859 GB, free: 81.99 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/1.603, allocations: 8.805 MB / 0.9945 GB, free: 72.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.237e-05/1.603, allocations: 143.4 kB / 0.9946 GB, free: 72.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02101/1.624, allocations: 18.79 MB / 1.013 GB, free: 51.86 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00425/1.628, allocations: 2.049 MB / 1.015 GB, free: 49.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/1.63, allocations: 247.9 kB / 1.015 GB, free: 49.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005181/1.635, allocations: 0.5736 MB / 1.016 GB, free: 49.09 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/1.636, allocations: 0.7458 MB / 1.016 GB, free: 48.34 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000666/1.637, allocations: 313.9 kB / 1.017 GB, free: 48.04 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.008907/1.646, allocations: 6.062 MB / 1.023 GB, free: 42 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.71e-07/1.646, allocations: 4 kB / 1.023 GB, free: 41.99 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.008786/1.655, allocations: 2.674 MB / 1.025 GB, free: 39.31 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.001423/1.656, allocations: 0.4963 MB / 1.026 GB, free: 38.81 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.67, allocations: 10.56 MB / 1.036 GB, free: 28.16 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 4.75e-05/1.67, allocations: 16 kB / 1.036 GB, free: 28.15 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007107/1.677, allocations: 5.497 MB / 1.041 GB, free: 22.59 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07961/1.757, allocations: 1.507 MB / 1.043 GB, free: 21.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2225/1.979, allocations: 28.14 MB / 1.07 GB, free: 147.6 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/1.992, allocations: 7.626 MB / 1.078 GB, free: 146.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003066/1.995, allocations: 0.6506 MB / 1.079 GB, free: 146.7 MB / 0.5418 GB Notification: Performance of SimCode: time 9.92e-07/1.995, allocations: 2.031 kB / 1.079 GB, free: 146.7 MB / 0.5418 GB Notification: Performance of Templates: time 0.8267/2.822, allocations: 0.541 GB / 1.62 GB, free: 70.57 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/jenkins/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