Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001036, allocations: 107.4 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 74.88 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 62.45 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007749/0.1184, allocations: 7.444 MB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.123, allocations: 2.327 MB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.1245, allocations: 27.94 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.1286, allocations: 1.638 MB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.1311, allocations: 0.633 MB / 491.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1327, allocations: 0.6923 MB / 492.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.1344, allocations: 1.233 MB / 493.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.136, allocations: 1.055 MB / 494.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007843/0.1368, allocations: 0.502 MB / 495.2 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.1377, allocations: 0.673 MB / 495.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.1379, allocations: 111.9 kB / 495.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.1387, allocations: 295.8 kB / 496.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.1389, allocations: 275 kB / 496.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006903/0.1396, allocations: 0.5986 MB / 497.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.1416, allocations: 1.588 MB / 498.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1416, allocations: 0 / 498.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1416, allocations: 0 / 498.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.166e-05/0.1417, allocations: 0 / 498.7 MB, free: 2.379 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004835/0.1465, allocations: 1.803 MB / 0.4888 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.1466, allocations: 8.031 kB / 0.4888 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003548/0.147, allocations: 194.7 kB / 0.4889 GB, free: 324 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009528/0.1565, allocations: 1.33 MB / 0.4902 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.1574, allocations: 0.5568 MB / 0.4908 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.1574, allocations: 103 kB / 0.4909 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.1577, allocations: 139.8 kB / 0.491 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.16, allocations: 1.234 MB / 0.4922 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/0.1601, allocations: 4 kB / 0.4922 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.1602, allocations: 59.88 kB / 0.4923 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.1602, allocations: 32 kB / 0.4923 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.1626, allocations: 1.455 MB / 0.4937 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.1705, allocations: 5.827 MB / 0.4994 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.1722, allocations: 0.9497 MB / 0.5004 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.1728, allocations: 367.7 kB / 0.5007 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.173, allocations: 187.2 kB / 0.5009 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.173, allocations: 39.56 kB / 0.5009 GB, free: 3.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 4.078e-06/0.173, allocations: 4 kB / 0.5009 GB, free: 3.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002163/0.1752, allocations: 1.198 MB / 0.5021 GB, free: 2.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1753, allocations: 60.41 kB / 0.5022 GB, free: 2.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/0.1762, allocations: 0.8324 MB / 0.503 GB, free: 1.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.1763, allocations: 41.7 kB / 0.503 GB, free: 1.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.1766, allocations: 0.4947 MB / 0.5035 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.1768, allocations: 311.5 kB / 0.5038 GB, free: 396 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.1771, allocations: 194.8 kB / 0.504 GB, free: 192 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2026/0.3798, allocations: 402.7 kB / 0.5044 GB, free: 40.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.3806, allocations: 345.4 kB / 0.5047 GB, free: 40.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/0.3814, allocations: 0.6144 MB / 0.5053 GB, free: 39.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3827, allocations: 0.9917 MB / 0.5063 GB, free: 39.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3827, allocations: 2.812 kB / 0.5063 GB, free: 39.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00202/0.3847, allocations: 1.186 MB / 0.5074 GB, free: 39.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3848, allocations: 14.67 kB / 0.5074 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3848, allocations: 8.031 kB / 0.5074 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.3851, allocations: 64.97 kB / 0.5075 GB, free: 39.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3861, allocations: 259.3 kB / 0.5077 GB, free: 39.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.3876, allocations: 2.828 MB / 0.5105 GB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.3885, allocations: 159 kB / 0.5107 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.3885, allocations: 51.83 kB / 0.5107 GB, free: 36.27 MB / 382.1 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.0003693/0.3889, allocations: 260.6 kB / 0.511 GB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3891, allocations: 95.62 kB / 0.511 GB, free: 36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/0.3909, allocations: 1.103 MB / 0.5121 GB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3909, allocations: 9.938 kB / 0.5121 GB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3909, allocations: 5.125 kB / 0.5121 GB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3909, allocations: 4.359 kB / 0.5121 GB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.3943, allocations: 3.149 MB / 0.5152 GB, free: 33.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.3944, allocations: 6.797 kB / 0.5152 GB, free: 33.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.3951, allocations: 178.1 kB / 0.5154 GB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.3952, allocations: 67.73 kB / 0.5155 GB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.3953, allocations: 25.73 kB / 0.5155 GB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.3967, allocations: 2.825 MB / 0.5182 GB, free: 30.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3967, allocations: 10.47 kB / 0.5183 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.3986, allocations: 1.475 MB / 0.5197 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3988, allocations: 197.7 kB / 0.5199 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3989, allocations: 24.62 kB / 0.5199 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.3995, allocations: 59.33 kB / 0.52 GB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.3997, allocations: 78.98 kB / 0.52 GB, free: 29.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.3997, allocations: 36.95 kB / 0.5201 GB, free: 29.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006841/0.4004, allocations: 0.574 MB / 0.5206 GB, free: 28.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4004, allocations: 0 / 0.5206 GB, free: 28.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009689/0.4014, allocations: 312.4 kB / 0.5209 GB, free: 28.84 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 (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.002278/0.4037, allocations: 2.086 MB / 0.523 GB, free: 27.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.4057, allocations: 1.126 MB / 0.5241 GB, free: 26.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4058, allocations: 2.344 kB / 0.5241 GB, free: 26.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008226/0.4066, allocations: 0.6215 MB / 0.5247 GB, free: 26.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.4074, allocations: 127.4 kB / 0.5248 GB, free: 26.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.4185, allocations: 9.53 MB / 0.5341 GB, free: 20.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.419, allocations: 1.011 MB / 0.5351 GB, free: 19.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006882/0.4197, allocations: 159.3 kB / 0.5352 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.4201, allocations: 378.3 kB / 0.5356 GB, free: 19.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4201, allocations: 1.375 kB / 0.5356 GB, free: 19.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.4536, allocations: 19.25 MB / 0.5544 GB, free: 3.703 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/0.4537, allocations: 240 kB / 0.5546 GB, free: 3.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.771, allocations: 4 kB / 0.5546 GB, free: 3.449 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches