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.001915/0.001915, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002437/0.002437, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.76/1.76, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2615/0.2615, allocations: 44.27 MB / 331.1 MB, free: 9.297 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.002495/0.002495, allocations: 72.36 kB / 468.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1688, allocations: 61.04 MB / 0.5169 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009098/0.1779, allocations: 6.098 MB / 0.5229 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.1837, allocations: 2.089 MB / 0.5249 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1849, allocations: 27.94 kB / 0.5249 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.1889, allocations: 1.408 MB / 0.5263 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.1918, allocations: 0.6953 MB / 0.527 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.1938, allocations: 0.6931 MB / 0.5277 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.1962, allocations: 1.183 MB / 0.5288 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.1982, allocations: 0.7726 MB / 0.5296 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.1992, allocations: 0.4902 MB / 0.5301 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2005, allocations: 0.6147 MB / 0.5307 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.2008, allocations: 96 kB / 0.5307 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.202, allocations: 275.7 kB / 0.531 GB, free: 8.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.2022, allocations: 259 kB / 0.5313 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005863/0.2028, allocations: 469.7 kB / 0.5317 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.2051, allocations: 1.498 MB / 0.5332 GB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2051, allocations: 0 / 0.5332 GB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2051, allocations: 0 / 0.5332 GB, free: 6.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.2051, allocations: 0 / 0.5332 GB, free: 6.434 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.004491/0.2096, allocations: 1.659 MB / 0.5348 GB, free: 4.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.2097, allocations: 12.03 kB / 0.5348 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.206e-05/0.2097, allocations: 30.67 kB / 0.5348 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.21, allocations: 190.1 kB / 0.535 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.2202, allocations: 1.428 MB / 0.5364 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.2218, allocations: 499 kB / 0.5369 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.222, allocations: 94.48 kB / 0.537 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000553/0.2225, allocations: 131.9 kB / 0.5371 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/0.2262, allocations: 1.36 MB / 0.5384 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.837e-05/0.2263, allocations: 7.953 kB / 0.5384 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.2265, allocations: 52 kB / 0.5385 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.2265, allocations: 28 kB / 0.5385 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3019/0.5285, allocations: 1.433 MB / 0.5399 GB, free: 28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007845/0.5363, allocations: 3.56 MB / 0.5434 GB, free: 27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.5382, allocations: 0.8245 MB / 0.5442 GB, free: 26.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.5388, allocations: 333.1 kB / 0.5445 GB, free: 26.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.5389, allocations: 19.2 kB / 0.5445 GB, free: 26.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/0.5389, allocations: 49.7 kB / 0.5446 GB, free: 26.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.517e-06/0.539, allocations: 0 / 0.5446 GB, free: 26.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002616/0.5416, allocations: 1.048 MB / 0.5456 GB, free: 26.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.5416, allocations: 66.12 kB / 0.5457 GB, free: 25.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5429, allocations: 0.7996 MB / 0.5464 GB, free: 25.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.543, allocations: 41.92 kB / 0.5465 GB, free: 25.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.5434, allocations: 498.2 kB / 0.547 GB, free: 25.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.5437, allocations: 323.9 kB / 0.5473 GB, free: 25.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.5441, allocations: 201.7 kB / 0.5475 GB, free: 24.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.5443, allocations: 399 kB / 0.5478 GB, free: 24.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.5451, allocations: 342.5 kB / 0.5482 GB, free: 24.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.546, allocations: 0.6046 MB / 0.5488 GB, free: 24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.5473, allocations: 0.9706 MB / 0.5497 GB, free: 23.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.5473, allocations: 3 kB / 0.5497 GB, free: 23.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002267/0.5496, allocations: 1.177 MB / 0.5509 GB, free: 22.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.5496, allocations: 9.25 kB / 0.5509 GB, free: 22.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.5497, allocations: 8 kB / 0.5509 GB, free: 22.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.55, allocations: 65.45 kB / 0.5509 GB, free: 22.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5511, allocations: 263.7 kB / 0.5512 GB, free: 22.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.553, allocations: 2.634 MB / 0.5538 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.554, allocations: 152.3 kB / 0.5539 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.5541, allocations: 47.23 kB / 0.5539 GB, free: 20.07 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.0004807/0.5546, allocations: 250.1 kB / 0.5542 GB, free: 19.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.5548, allocations: 97.91 kB / 0.5543 GB, free: 19.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.5568, allocations: 1.105 MB / 0.5554 GB, free: 19.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.5568, allocations: 13.84 kB / 0.5554 GB, free: 19.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5568, allocations: 3.391 kB / 0.5554 GB, free: 19.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.5569, allocations: 4.781 kB / 0.5554 GB, free: 19.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.5612, allocations: 2.145 MB / 0.5575 GB, free: 18.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.5612, allocations: 7.781 kB / 0.5575 GB, free: 18.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.562, allocations: 183.7 kB / 0.5577 GB, free: 18.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.5622, allocations: 67.33 kB / 0.5577 GB, free: 18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.5623, allocations: 28.8 kB / 0.5577 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.5639, allocations: 2.621 MB / 0.5603 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5639, allocations: 6.969 kB / 0.5603 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.5664, allocations: 1.477 MB / 0.5618 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.5667, allocations: 126.4 kB / 0.5619 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.5669, allocations: 28.88 kB / 0.5619 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.5676, allocations: 49.86 kB / 0.562 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.5677, allocations: 83.08 kB / 0.562 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.5678, allocations: 40.56 kB / 0.5621 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008421/0.5687, allocations: 0.5591 MB / 0.5626 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5687, allocations: 0 / 0.5626 GB, free: 14.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001385/0.57, allocations: 307.7 kB / 0.5629 GB, free: 14.04 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.003143/0.5732, allocations: 2.087 MB / 0.5649 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.5757, allocations: 1.05 MB / 0.566 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.5757, allocations: 5.922 kB / 0.566 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008987/0.5766, allocations: 0.5976 MB / 0.5666 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.5776, allocations: 116 kB / 0.5667 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.5909, allocations: 8.305 MB / 0.5748 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.5914, allocations: 409 kB / 0.5752 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.5921, allocations: 151.4 kB / 0.5753 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.5926, allocations: 366.5 kB / 0.5757 GB, free: 6.371 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5926, allocations: 0 / 0.5757 GB, free: 6.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/0.6539, allocations: 20.24 MB / 0.5954 GB, free: 7.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.12, allocations: 11.84 kB / 0.5954 GB, free: 7.621 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.328971559996717]