Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 170.3 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.258/0.258, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.317e-05, allocations: 2.312 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006155/0.006178, allocations: 7.177 MB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004597/0.01078, allocations: 2.349 MB / 334.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.01139, allocations: 27.94 kB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.01395, allocations: 1.847 MB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.0155, allocations: 0.7027 MB / 337.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.01667, allocations: 0.7234 MB / 338.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.01787, allocations: 1.287 MB / 339.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.01893, allocations: 0.918 MB / 340.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008216/0.01975, allocations: 0.7521 MB / 341.1 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.02028, allocations: 0.5337 MB / 341.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.0204, allocations: 104 kB / 341.7 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.02101, allocations: 303.6 kB / 342 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.02116, allocations: 274.9 kB / 342.3 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.02148, allocations: 422.8 kB / 342.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.02268, allocations: 1.101 MB / 343.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02269, allocations: 0 / 343.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02269, allocations: 0 / 343.8 MB, free: 5.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.0227, allocations: 0 / 343.8 MB, free: 5.047 MB / 314.7 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.003096/0.02579, allocations: 1.816 MB / 345.6 MB, free: 3.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.02583, allocations: 12.03 kB / 345.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/0.03362, allocations: 1.768 MB / 347.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.03427, allocations: 335.6 kB / 347.7 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.03434, allocations: 103 kB / 347.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.0345, allocations: 136.3 kB / 347.9 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.03562, allocations: 0.9927 MB / 348.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.03566, allocations: 15.78 kB / 348.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.03574, allocations: 52 kB / 349 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.03576, allocations: 32 kB / 349 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.03664, allocations: 0.6022 MB / 349.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004542/0.04118, allocations: 2.962 MB / 352.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/0.04207, allocations: 0.5799 MB / 353.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.04227, allocations: 149.4 kB / 353.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.73e-05/0.04236, allocations: 36.97 kB / 353.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.04239, allocations: 55.55 kB / 353.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 4.168e-06/0.0424, allocations: 0 / 353.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.0008641/0.04326, allocations: 492 kB / 353.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.04329, allocations: 64.41 kB / 354 MB, free: 10.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.04361, allocations: 422.8 kB / 354.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.04365, allocations: 41.7 kB / 354.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.04388, allocations: 0.5197 MB / 354.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.04406, allocations: 329.2 kB / 355.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.04429, allocations: 198.7 kB / 355.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.0444, allocations: 378.6 kB / 355.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.04459, allocations: 114.5 kB / 355.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.04492, allocations: 393.7 kB / 356.3 MB, free: 8.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.04554, allocations: 0.6122 MB / 356.9 MB, free: 7.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.04555, allocations: 7.938 kB / 356.9 MB, free: 7.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0009072/0.04646, allocations: 0.6026 MB / 357.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.04648, allocations: 16.22 kB / 357.5 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.0465, allocations: 8 kB / 357.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.04674, allocations: 69.64 kB / 357.6 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.04748, allocations: 287.5 kB / 357.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.0488, allocations: 2.364 MB / 360.3 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.04927, allocations: 111.2 kB / 360.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.04932, allocations: 39.98 kB / 360.4 MB, free: 3.691 MB / 330.7 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.0002035/0.04953, allocations: 185.5 kB / 360.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.04963, allocations: 71.94 kB / 360.7 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/0.05049, allocations: 0.6839 MB / 361.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.0505, allocations: 11.98 kB / 361.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.0505, allocations: 4 kB / 361.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.05051, allocations: 11.86 kB / 361.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.05214, allocations: 1.249 MB / 362.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.05215, allocations: 4 kB / 362.6 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.05268, allocations: 192.3 kB / 362.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.05287, allocations: 73.59 kB / 362.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.05291, allocations: 23.98 kB / 362.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.05414, allocations: 2.357 MB / 365.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.05415, allocations: 11.94 kB / 365.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.055, allocations: 0.8006 MB / 366.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.05508, allocations: 75.36 kB / 366.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/0.05515, allocations: 24 kB / 366.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.0555, allocations: 48.02 kB / 366.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.05561, allocations: 84.39 kB / 366.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.05565, allocations: 27.98 kB / 366.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.05582, allocations: 180.7 kB / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05582, allocations: 0 / 366.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000831/0.05665, allocations: 351.1 kB / 366.9 MB, free: 12.82 MB / 346.7 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.0002264/0.05687, allocations: 160.1 kB / 367 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007619/0.05764, allocations: 0.7176 MB / 367.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/0.05765, allocations: 8.5 kB / 367.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.05797, allocations: 485.9 kB / 368.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.05835, allocations: 101.8 kB / 368.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.06033, allocations: 1.708 MB / 370 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.06045, allocations: 189.8 kB / 370.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.06075, allocations: 125.9 kB / 370.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.06102, allocations: 187.3 kB / 370.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.06102, allocations: 0 / 370.5 MB, free: 8.969 MB / 346.7 MB Notification: Performance of Templates: time 0.01271/0.07374, allocations: 9.813 MB / 380.3 MB, free: 15.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1357635748572648]