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.0008042/0.0008044, allocations: 94.36 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009432/0.0009433, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.18 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 12 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 63.57 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007552/0.1459, allocations: 6.458 MB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.1505, allocations: 2.156 MB / 491 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.1512, allocations: 31.88 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.1519, allocations: 258.5 kB / 491.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.1535, allocations: 0.5826 MB / 491.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.155, allocations: 0.6146 MB / 492.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.1563, allocations: 1.132 MB / 493.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003084/0.1594, allocations: 1.512 MB / 495.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1604, allocations: 426.3 kB / 495.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007439/0.1612, allocations: 0.564 MB / 496.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.1613, allocations: 52 kB / 496.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.1622, allocations: 231.8 kB / 496.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.1624, allocations: 211 kB / 496.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.1627, allocations: 225.1 kB / 496.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.1642, allocations: 1.203 MB / 498 MB, free: 4.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1642, allocations: 0 / 498 MB, free: 4.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1642, allocations: 0 / 498 MB, free: 4.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1642, allocations: 0 / 498 MB, free: 4.836 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.004401/0.1686, allocations: 1.589 MB / 499.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.1687, allocations: 8.031 kB / 499.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/0.1783, allocations: 1.337 MB / 0.4892 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.1798, allocations: 0.5634 MB / 0.4898 GB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.1799, allocations: 94.66 kB / 0.4899 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.1801, allocations: 131.9 kB / 0.49 GB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.183, allocations: 1.234 MB / 0.4912 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.183, allocations: 0 / 0.4912 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.1832, allocations: 56 kB / 0.4913 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.1832, allocations: 35.98 kB / 0.4913 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.1858, allocations: 1.443 MB / 0.4927 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008458/0.1942, allocations: 5.868 MB / 0.4984 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.1961, allocations: 0.9497 MB / 0.4994 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.1967, allocations: 367.8 kB / 0.4997 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.1969, allocations: 191.1 kB / 0.4999 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.1969, allocations: 47.5 kB / 0.4999 GB, free: 6.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.835e-06/0.197, allocations: 0 / 0.4999 GB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002252/0.1992, allocations: 1.206 MB / 0.5011 GB, free: 4.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1993, allocations: 68.34 kB / 0.5012 GB, free: 4.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009967/0.2003, allocations: 0.8208 MB / 0.502 GB, free: 4.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.2003, allocations: 41.7 kB / 0.502 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.2007, allocations: 0.4986 MB / 0.5025 GB, free: 3.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.201, allocations: 303.5 kB / 0.5028 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.201, allocations: 24 kB / 0.5028 GB, free: 3.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.2013, allocations: 394.7 kB / 0.5032 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.2019, allocations: 354.5 kB / 0.5035 GB, free: 2.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.2027, allocations: 0.6188 MB / 0.5041 GB, free: 1.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.2035, allocations: 426.8 kB / 0.5045 GB, free: 1.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2035, allocations: 8 kB / 0.5045 GB, free: 1.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002116/0.2056, allocations: 1.182 MB / 0.5057 GB, free: 108 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2057, allocations: 10.66 kB / 0.5057 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.2057, allocations: 12 kB / 0.5057 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.206, allocations: 65.61 kB / 0.5058 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2749/0.4809, allocations: 261.5 kB / 0.506 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.4829, allocations: 2.624 MB / 0.5086 GB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/0.4839, allocations: 159.4 kB / 0.5088 GB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.484, allocations: 52.48 kB / 0.5088 GB, free: 36.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005095/0.4846, allocations: 258.9 kB / 0.509 GB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.4848, allocations: 92.97 kB / 0.5091 GB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.4869, allocations: 1.121 MB / 0.5102 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.4869, allocations: 9.781 kB / 0.5102 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4869, allocations: 0.9062 kB / 0.5102 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4869, allocations: 7.312 kB / 0.5102 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/0.4906, allocations: 3.155 MB / 0.5133 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.4907, allocations: 6.969 kB / 0.5133 GB, free: 34.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.4914, allocations: 185.2 kB / 0.5135 GB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.4916, allocations: 64.05 kB / 0.5136 GB, free: 34.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.4917, allocations: 30.36 kB / 0.5136 GB, free: 34.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.4931, allocations: 2.624 MB / 0.5162 GB, free: 31.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4931, allocations: 10.14 kB / 0.5162 GB, free: 31.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.4951, allocations: 1.478 MB / 0.5176 GB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.4954, allocations: 213 kB / 0.5178 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4955, allocations: 27.59 kB / 0.5178 GB, free: 30.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.496, allocations: 59.27 kB / 0.5179 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4962, allocations: 80.72 kB / 0.518 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.4963, allocations: 35.14 kB / 0.518 GB, free: 30.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007559/0.497, allocations: 0.5755 MB / 0.5186 GB, free: 30.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.497, allocations: 0 / 0.5186 GB, free: 30.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.498, allocations: 308.7 kB / 0.5189 GB, free: 30 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.000258/0.4983, allocations: 172.9 kB / 0.519 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.5, allocations: 1.091 MB / 0.5201 GB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5, allocations: 2.75 kB / 0.5201 GB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.5009, allocations: 0.6191 MB / 0.5207 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.5016, allocations: 128.9 kB / 0.5208 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.5047, allocations: 2.219 MB / 0.523 GB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.5053, allocations: 1.016 MB / 0.524 GB, free: 26.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006888/0.506, allocations: 154.9 kB / 0.5241 GB, free: 26.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.5062, allocations: 81.62 kB / 0.5242 GB, free: 26.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5062, allocations: 0 / 0.5242 GB, free: 26.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01769/0.5239, allocations: 9.763 MB / 0.5338 GB, free: 24.02 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