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.001949/0.001949, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001771/0.001771, allocations: 214.1 kB / 22.99 MB, free: 4.605 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.549/1.549, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2418/0.2418, allocations: 44.27 MB / 330.3 MB, free: 9.305 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",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.002295/0.002295, allocations: 70.72 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1362, allocations: 61.03 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009009/0.1452, allocations: 6.102 MB / 0.5221 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.1503, allocations: 2.097 MB / 0.5242 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.151, allocations: 23.94 kB / 0.5242 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.1547, allocations: 1.419 MB / 0.5256 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.1568, allocations: 0.6915 MB / 0.5262 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1587, allocations: 0.6814 MB / 0.5269 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.1607, allocations: 1.186 MB / 0.5281 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.1624, allocations: 0.757 MB / 0.5288 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1635, allocations: 0.4941 MB / 0.5293 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1647, allocations: 0.5443 MB / 0.5298 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004333/0.1651, allocations: 96 kB / 0.5299 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1665, allocations: 271.8 kB / 0.5302 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.167, allocations: 258.9 kB / 0.5304 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.1683, allocations: 469.7 kB / 0.5309 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.1716, allocations: 1.494 MB / 0.5323 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1716, allocations: 0 / 0.5323 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1716, allocations: 4 kB / 0.5323 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.1716, allocations: 4 kB / 0.5323 GB, free: 6.5 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.004435/0.1761, allocations: 1.659 MB / 0.534 GB, free: 4.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1761, allocations: 12.03 kB / 0.534 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.1763, allocations: 182 kB / 0.5341 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.1865, allocations: 1.428 MB / 0.5355 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.1879, allocations: 0.4953 MB / 0.536 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.188, allocations: 90.48 kB / 0.5361 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.1882, allocations: 124 kB / 0.5362 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.1907, allocations: 1.364 MB / 0.5376 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.1907, allocations: 3.953 kB / 0.5376 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.1908, allocations: 52 kB / 0.5376 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.1909, allocations: 28 kB / 0.5376 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2359/0.4268, allocations: 1.414 MB / 0.539 GB, free: 27.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007452/0.4342, allocations: 3.557 MB / 0.5425 GB, free: 26.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.4359, allocations: 0.8266 MB / 0.5433 GB, free: 26.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.4365, allocations: 333.3 kB / 0.5436 GB, free: 26.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.4366, allocations: 18.8 kB / 0.5436 GB, free: 26.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4366, allocations: 49 kB / 0.5437 GB, free: 26.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.286e-06/0.4366, allocations: 3.156 kB / 0.5437 GB, free: 26.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002188/0.4388, allocations: 1.045 MB / 0.5447 GB, free: 26.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4388, allocations: 69.78 kB / 0.5448 GB, free: 25.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.4399, allocations: 0.8195 MB / 0.5456 GB, free: 25.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.4399, allocations: 41.64 kB / 0.5456 GB, free: 25.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.4402, allocations: 490.8 kB / 0.5461 GB, free: 25.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.4404, allocations: 332.4 kB / 0.5464 GB, free: 24.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.4407, allocations: 198.3 kB / 0.5466 GB, free: 24.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4408, allocations: 395.5 kB / 0.547 GB, free: 24.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.4414, allocations: 342.4 kB / 0.5473 GB, free: 24.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.4421, allocations: 0.607 MB / 0.5479 GB, free: 23.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.4434, allocations: 0.9756 MB / 0.5488 GB, free: 23.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.4434, allocations: 2.031 kB / 0.5488 GB, free: 23.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002102/0.4455, allocations: 1.179 MB / 0.55 GB, free: 22.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.4455, allocations: 7.969 kB / 0.55 GB, free: 22.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4456, allocations: 7.656 kB / 0.55 GB, free: 22.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.4459, allocations: 68.09 kB / 0.5501 GB, free: 22.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4469, allocations: 259.5 kB / 0.5503 GB, free: 22.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.4485, allocations: 2.625 MB / 0.5529 GB, free: 20.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.4494, allocations: 156.2 kB / 0.553 GB, free: 20.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.4495, allocations: 52.06 kB / 0.5531 GB, free: 20 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.0003865/0.4499, allocations: 254 kB / 0.5533 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.45, allocations: 96.36 kB / 0.5534 GB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.4519, allocations: 1.105 MB / 0.5545 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4519, allocations: 9.016 kB / 0.5545 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4519, allocations: 1.125 kB / 0.5545 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4519, allocations: 4.969 kB / 0.5545 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.4554, allocations: 2.145 MB / 0.5566 GB, free: 18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.4554, allocations: 11.81 kB / 0.5566 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.4561, allocations: 183.3 kB / 0.5568 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.4564, allocations: 63.19 kB / 0.5568 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.4564, allocations: 26.72 kB / 0.5569 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.458, allocations: 2.622 MB / 0.5594 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.458, allocations: 6.375 kB / 0.5594 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.4602, allocations: 1.488 MB / 0.5609 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.4605, allocations: 125 kB / 0.561 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.4606, allocations: 24.5 kB / 0.561 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.4613, allocations: 54.09 kB / 0.5611 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.4614, allocations: 86.62 kB / 0.5612 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.4615, allocations: 36.02 kB / 0.5612 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006802/0.4622, allocations: 0.5667 MB / 0.5618 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4622, allocations: 0 / 0.5618 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4632, allocations: 297 kB / 0.562 GB, free: 13.98 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.002416/0.4656, allocations: 2.09 MB / 0.5641 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.4676, allocations: 1.041 MB / 0.5651 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4676, allocations: 3.781 kB / 0.5651 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.4684, allocations: 0.5952 MB / 0.5657 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.4691, allocations: 121.7 kB / 0.5658 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.4804, allocations: 8.312 MB / 0.5739 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.4809, allocations: 408.2 kB / 0.5743 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006374/0.4815, allocations: 151.5 kB / 0.5744 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.482, allocations: 365.5 kB / 0.5748 GB, free: 6.312 MB / 414.1 MB Notification: Performance of SimCode: time 1.372e-06/0.482, allocations: 4 kB / 0.5748 GB, free: 6.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08089/0.5629, allocations: 20.34 MB / 0.5947 GB, free: 7.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.9, allocations: 7.797 kB / 0.5947 GB, free: 7.617 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.251944836229086]