Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002134/0.002134, allocations: 109.2 kB / 20.48 MB, free: 1.477 MB / 14.72 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.002715/0.002715, allocations: 211.8 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2531/0.2531, allocations: 44.25 MB / 331.1 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 179] 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 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 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 67.91 kB / 468.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1525, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009456/0.162, allocations: 6.985 MB / 0.5237 GB, free: 332 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005742/0.1677, allocations: 2.213 MB / 0.5259 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.169, allocations: 27.94 kB / 0.5259 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.1732, allocations: 1.524 MB / 0.5274 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.176, allocations: 0.707 MB / 0.5281 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.1781, allocations: 0.7281 MB / 0.5288 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.1805, allocations: 1.183 MB / 0.53 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.1825, allocations: 0.7726 MB / 0.5307 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1837, allocations: 0.4941 MB / 0.5312 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.185, allocations: 0.6107 MB / 0.5318 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.1854, allocations: 99.94 kB / 0.5319 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.1866, allocations: 275.8 kB / 0.5322 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.187, allocations: 266.9 kB / 0.5324 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1881, allocations: 0.5636 MB / 0.533 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.1907, allocations: 1.478 MB / 0.5344 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1908, allocations: 4 kB / 0.5344 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1908, allocations: 0 / 0.5344 GB, free: 5.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.681e-05/0.1908, allocations: 0 / 0.5344 GB, free: 5.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00561/0.1964, allocations: 1.667 MB / 0.536 GB, free: 3.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.1965, allocations: 12.03 kB / 0.5361 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.254e-05/0.1966, allocations: 34.67 kB / 0.5361 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003866/0.1969, allocations: 182.1 kB / 0.5363 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.2072, allocations: 1.428 MB / 0.5377 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.2088, allocations: 499 kB / 0.5381 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.2089, allocations: 94.42 kB / 0.5382 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.2093, allocations: 124 kB / 0.5383 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.2124, allocations: 1.185 MB / 0.5395 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.2124, allocations: 7.953 kB / 0.5395 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3073/0.5197, allocations: 49.67 kB / 0.5395 GB, free: 27.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.5198, allocations: 30.5 kB / 0.5396 GB, free: 27.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.5229, allocations: 1.432 MB / 0.541 GB, free: 27.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007778/0.5307, allocations: 3.891 MB / 0.5448 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.5326, allocations: 0.8293 MB / 0.5456 GB, free: 25.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.5332, allocations: 328.7 kB / 0.5459 GB, free: 25.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.5333, allocations: 30.53 kB / 0.5459 GB, free: 25.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.5333, allocations: 52.69 kB / 0.546 GB, free: 25.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.725e-06/0.5333, allocations: 0 / 0.546 GB, free: 25.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002416/0.5358, allocations: 1.045 MB / 0.547 GB, free: 25.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.5358, allocations: 64.94 kB / 0.5471 GB, free: 25.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.5374, allocations: 0.7955 MB / 0.5478 GB, free: 24.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.5374, allocations: 46.36 kB / 0.5479 GB, free: 24.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.5379, allocations: 493.9 kB / 0.5484 GB, free: 24.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.5382, allocations: 323.4 kB / 0.5487 GB, free: 24.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.5386, allocations: 202 kB / 0.5489 GB, free: 24.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5387, allocations: 398.4 kB / 0.5492 GB, free: 23.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.5394, allocations: 342.2 kB / 0.5496 GB, free: 23.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.5403, allocations: 0.6062 MB / 0.5502 GB, free: 23.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.5418, allocations: 0.9837 MB / 0.5511 GB, free: 22.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.5418, allocations: 2.375 kB / 0.5511 GB, free: 22.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002387/0.5442, allocations: 1.17 MB / 0.5523 GB, free: 22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5442, allocations: 7.625 kB / 0.5523 GB, free: 22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5442, allocations: 11.67 kB / 0.5523 GB, free: 22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.5445, allocations: 66.98 kB / 0.5523 GB, free: 21.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.5455, allocations: 262 kB / 0.5526 GB, free: 21.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.5473, allocations: 2.631 MB / 0.5552 GB, free: 19.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/0.5482, allocations: 160.4 kB / 0.5553 GB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.5483, allocations: 46.47 kB / 0.5554 GB, free: 19.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.000442/0.5488, allocations: 247.1 kB / 0.5556 GB, free: 19.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5489, allocations: 94.77 kB / 0.5557 GB, free: 18.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.5509, allocations: 1.113 MB / 0.5568 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5509, allocations: 9.469 kB / 0.5568 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5509, allocations: 4.906 kB / 0.5568 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.551, allocations: 7.594 kB / 0.5568 GB, free: 18.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.5549, allocations: 2.329 MB / 0.5591 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5549, allocations: 5.531 kB / 0.5591 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.5556, allocations: 180.3 kB / 0.5592 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.5559, allocations: 59.25 kB / 0.5593 GB, free: 17.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.5559, allocations: 30.62 kB / 0.5593 GB, free: 17.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.5574, allocations: 2.62 MB / 0.5619 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.5574, allocations: 11.03 kB / 0.5619 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.5599, allocations: 1.489 MB / 0.5634 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.5602, allocations: 124 kB / 0.5635 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.5603, allocations: 23.25 kB / 0.5635 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.561, allocations: 52.58 kB / 0.5635 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5612, allocations: 88.53 kB / 0.5636 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.5612, allocations: 32.3 kB / 0.5637 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008179/0.562, allocations: 0.5629 MB / 0.5642 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.562, allocations: 3.938 kB / 0.5642 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001195/0.5632, allocations: 299.1 kB / 0.5645 GB, free: 13.12 MB / 414.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 (94): * Single equations (assignments): 92 * 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.002785/0.566, allocations: 2.084 MB / 0.5665 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.5681, allocations: 1.052 MB / 0.5676 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5681, allocations: 0 / 0.5676 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009109/0.569, allocations: 0.5933 MB / 0.5681 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.57, allocations: 128.1 kB / 0.5683 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.5837, allocations: 8.32 MB / 0.5764 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.5842, allocations: 0.9967 MB / 0.5774 GB, free: 5.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006413/0.5848, allocations: 152.2 kB / 0.5775 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.5853, allocations: 367.9 kB / 0.5779 GB, free: 4.789 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5853, allocations: 0 / 0.5779 GB, free: 4.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.6416, allocations: 20.07 MB / 0.5975 GB, free: 6.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.02, allocations: 11.95 kB / 0.5975 GB, free: 6.008 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.146266143012326]