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.002294/0.002295, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00233/0.00233, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.905/1.905, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2779/0.2779, allocations: 46.11 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003056/0.003056, allocations: 73.09 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2039, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01528/0.2192, allocations: 7.452 MB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.226, allocations: 2.35 MB / 489.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.2275, allocations: 27.94 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006544/0.2341, allocations: 1.634 MB / 491.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.2384, allocations: 0.6331 MB / 492 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.2411, allocations: 0.7043 MB / 492.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.2439, allocations: 1.194 MB / 493.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/0.2467, allocations: 0.8581 MB / 494.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.248, allocations: 482 kB / 495.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.2496, allocations: 0.6496 MB / 495.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.2499, allocations: 76 kB / 496 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.2514, allocations: 271.8 kB / 496.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.2518, allocations: 250.9 kB / 496.5 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.2531, allocations: 0.5751 MB / 497.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.2557, allocations: 1.235 MB / 498.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.2558, allocations: 0 / 498.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2558, allocations: 0 / 498.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.557e-05/0.2559, allocations: 0 / 498.3 MB, free: 3.273 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.01014/0.266, allocations: 1.807 MB / 0.4884 GB, free: 1.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.2661, allocations: 15.97 kB / 0.4884 GB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02072/0.2869, allocations: 1.33 MB / 0.4897 GB, free: 68 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.2889, allocations: 0.549 MB / 0.4902 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.2891, allocations: 103 kB / 0.4903 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006642/0.2898, allocations: 132.1 kB / 0.4905 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005917/0.2957, allocations: 1.238 MB / 0.4917 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.2959, allocations: 15.89 kB / 0.4917 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000386/0.2963, allocations: 48 kB / 0.4917 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-05/0.2964, allocations: 36 kB / 0.4918 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005271/0.3017, allocations: 1.447 MB / 0.4932 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.3193, allocations: 5.828 MB / 0.4989 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.3229, allocations: 0.9458 MB / 0.4998 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3241, allocations: 375.7 kB / 0.5002 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.3244, allocations: 183.2 kB / 0.5003 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.3245, allocations: 47.5 kB / 0.5004 GB, free: 4.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 4.168e-06/0.3245, allocations: 0 / 0.5004 GB, free: 4.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.004205/0.3287, allocations: 1.195 MB / 0.5015 GB, free: 3.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.3288, allocations: 68.34 kB / 0.5016 GB, free: 3.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.3309, allocations: 0.8208 MB / 0.5024 GB, free: 2.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.331, allocations: 41.7 kB / 0.5024 GB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/0.3316, allocations: 0.4947 MB / 0.5029 GB, free: 1.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.3321, allocations: 311.5 kB / 0.5032 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/0.3327, allocations: 198.8 kB / 0.5034 GB, free: 1.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.333, allocations: 406.7 kB / 0.5038 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.3342, allocations: 342.5 kB / 0.5041 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3113/0.6455, allocations: 0.6103 MB / 0.5047 GB, free: 39.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.6477, allocations: 0.9905 MB / 0.5057 GB, free: 39.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.6477, allocations: 5.625 kB / 0.5057 GB, free: 39.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003106/0.6508, allocations: 1.182 MB / 0.5069 GB, free: 39.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.6509, allocations: 12.66 kB / 0.5069 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.6509, allocations: 8.141 kB / 0.5069 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.6514, allocations: 69.66 kB / 0.5069 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.6527, allocations: 263.3 kB / 0.5072 GB, free: 39.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.6545, allocations: 2.62 MB / 0.5097 GB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6556, allocations: 155.9 kB / 0.5099 GB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.6558, allocations: 52.36 kB / 0.5099 GB, free: 36.67 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.0005377/0.6563, allocations: 258.3 kB / 0.5102 GB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.6566, allocations: 90.56 kB / 0.5103 GB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.6589, allocations: 1.113 MB / 0.5114 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.659, allocations: 15.3 kB / 0.5114 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.659, allocations: 3.719 kB / 0.5114 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.659, allocations: 9.188 kB / 0.5114 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004467/0.6635, allocations: 3.142 MB / 0.5145 GB, free: 33.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.6635, allocations: 8.141 kB / 0.5145 GB, free: 33.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.6644, allocations: 181.3 kB / 0.5146 GB, free: 33.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.6646, allocations: 69.11 kB / 0.5147 GB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.6647, allocations: 25.66 kB / 0.5147 GB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.6663, allocations: 2.629 MB / 0.5173 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.6663, allocations: 12.75 kB / 0.5173 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.6688, allocations: 1.467 MB / 0.5187 GB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.6691, allocations: 202.6 kB / 0.5189 GB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.6693, allocations: 24.22 kB / 0.519 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/0.6701, allocations: 54.44 kB / 0.519 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6703, allocations: 85.66 kB / 0.5191 GB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.6704, allocations: 34.3 kB / 0.5191 GB, free: 29.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008995/0.6713, allocations: 0.5787 MB / 0.5197 GB, free: 29.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6713, allocations: 0 / 0.5197 GB, free: 29.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001299/0.6726, allocations: 316.4 kB / 0.52 GB, free: 29.44 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.0003281/0.673, allocations: 167.2 kB / 0.5202 GB, free: 29.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.6753, allocations: 1.084 MB / 0.5212 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.6753, allocations: 1.094 kB / 0.5212 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6764, allocations: 0.6295 MB / 0.5218 GB, free: 28.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.6774, allocations: 124.9 kB / 0.5219 GB, free: 28.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.6809, allocations: 2.333 MB / 0.5242 GB, free: 26.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/0.6815, allocations: 1.015 MB / 0.5252 GB, free: 26.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.6819, allocations: 91.64 kB / 0.5253 GB, free: 26.04 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6819, allocations: 1.75 kB / 0.5253 GB, free: 26.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02473/0.7067, allocations: 21.26 MB / 0.5461 GB, free: 12.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches