Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.8 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.203/0.203, allocations: 44.17 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.38 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 60.84 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007308/0.1166, allocations: 6.888 MB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.12, allocations: 2.195 MB / 477.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.1203, allocations: 20 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.1231, allocations: 1.427 MB / 479.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1246, allocations: 0.7605 MB / 479.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1256, allocations: 0.5497 MB / 480.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009024/0.1265, allocations: 1.105 MB / 481.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.1276, allocations: 0.7358 MB / 482.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.128, allocations: 446.2 kB / 482.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005104/0.1285, allocations: 0.5795 MB / 483.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.1287, allocations: 79.94 kB / 483.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.1291, allocations: 247.8 kB / 483.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1293, allocations: 223 kB / 483.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.1297, allocations: 0.5246 MB / 484.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1309, allocations: 1.413 MB / 485.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1309, allocations: 0 / 485.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.22e-07/0.1309, allocations: 0 / 485.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.131, allocations: 0 / 485.8 MB, free: 13.47 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003799/0.1348, allocations: 1.682 MB / 487.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1348, allocations: 8.031 kB / 487.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.135, allocations: 181.8 kB / 487.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009555/0.1446, allocations: 1.319 MB / 489 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.1453, allocations: 0.5255 MB / 489.5 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.1454, allocations: 94.41 kB / 489.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.1456, allocations: 123.8 kB / 489.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.1476, allocations: 1.137 MB / 490.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.1476, allocations: 7.984 kB / 490.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.1477, allocations: 48 kB / 490.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.1477, allocations: 28 kB / 490.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1499, allocations: 1.368 MB / 492.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006682/0.1566, allocations: 4.676 MB / 497 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.1583, allocations: 0.9341 MB / 497.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.1589, allocations: 363.8 kB / 498.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.159, allocations: 106.1 kB / 498.4 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1591, allocations: 47.5 kB / 498.4 MB, free: 356 kB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 3.005e-06/0.1591, allocations: 4 kB / 498.4 MB, free: 352 kB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002313/0.1614, allocations: 1.179 MB / 499.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1615, allocations: 68.34 kB / 499.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.1624, allocations: 0.7777 MB / 0.4887 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.1625, allocations: 41.7 kB / 0.4888 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.1628, allocations: 462.9 kB / 0.4892 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.163, allocations: 307.5 kB / 0.4895 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.1633, allocations: 182.9 kB / 0.4897 GB, free: 13.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1635, allocations: 398.7 kB / 0.4901 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.1641, allocations: 330.5 kB / 0.4904 GB, free: 12.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.1649, allocations: 0.5661 MB / 0.4909 GB, free: 11.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.1662, allocations: 0.927 MB / 0.4918 GB, free: 10.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1662, allocations: 0 / 0.4918 GB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001893/0.1681, allocations: 1.123 MB / 0.4929 GB, free: 9.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1681, allocations: 11.94 kB / 0.4929 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1682, allocations: 8 kB / 0.4929 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.1684, allocations: 61.67 kB / 0.493 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/0.1694, allocations: 251.8 kB / 0.4932 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1713, allocations: 2.634 MB / 0.4958 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.172, allocations: 150.5 kB / 0.496 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.1721, allocations: 43.98 kB / 0.496 GB, free: 6.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0003337/0.1724, allocations: 249.5 kB / 0.4962 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.1726, allocations: 82.97 kB / 0.4963 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.1745, allocations: 1.099 MB / 0.4974 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1745, allocations: 8 kB / 0.4974 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1745, allocations: 7.938 kB / 0.4974 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1745, allocations: 11.92 kB / 0.4974 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.1778, allocations: 2.684 MB / 0.5 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.1779, allocations: 4 kB / 0.5 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/0.1785, allocations: 184.5 kB / 0.5002 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.1787, allocations: 65.61 kB / 0.5003 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.1788, allocations: 24 kB / 0.5003 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1926/0.3714, allocations: 2.616 MB / 0.5029 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3715, allocations: 11.72 kB / 0.5029 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.3738, allocations: 1.469 MB / 0.5043 GB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.374, allocations: 195.2 kB / 0.5045 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.3741, allocations: 25.12 kB / 0.5045 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.3748, allocations: 52.97 kB / 0.5046 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.3749, allocations: 77.17 kB / 0.5046 GB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.375, allocations: 37.94 kB / 0.5047 GB, free: 46.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006983/0.3757, allocations: 0.5517 MB / 0.5052 GB, free: 45.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3757, allocations: 1.062 kB / 0.5052 GB, free: 45.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008926/0.3766, allocations: 283.3 kB / 0.5055 GB, free: 45.9 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 (92): * Single equations (assignments): 90 * 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.002251/0.3788, allocations: 2.068 MB / 0.5075 GB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3805, allocations: 1.061 MB / 0.5085 GB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3805, allocations: 1.094 kB / 0.5085 GB, free: 44.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008439/0.3814, allocations: 0.6182 MB / 0.5091 GB, free: 43.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.3822, allocations: 126.3 kB / 0.5093 GB, free: 43.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.393, allocations: 9.045 MB / 0.5181 GB, free: 37.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.3935, allocations: 0.9932 MB / 0.5191 GB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006594/0.3942, allocations: 152.2 kB / 0.5192 GB, free: 37.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.3946, allocations: 353.8 kB / 0.5196 GB, free: 36.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3946, allocations: 0 / 0.5196 GB, free: 36.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0444/0.439, allocations: 17.94 MB / 0.5371 GB, free: 26.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.4392, allocations: 240.5 kB / 0.5373 GB, free: 26.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.661, allocations: 4 kB / 0.5373 GB, free: 26.18 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches