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.001388/0.001388, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.00161/0.00161, allocations: 192 kB / 18.56 MB, free: 4.434 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.308/1.308, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.1925/0.1925, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 66.89 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09279, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007356/0.1002, allocations: 6.931 MB / 476.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.1047, allocations: 2.206 MB / 478.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/0.1053, allocations: 20 kB / 478.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.1086, allocations: 1.523 MB / 480 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.1108, allocations: 0.8399 MB / 480.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.112, allocations: 0.5686 MB / 481.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1132, allocations: 1.148 MB / 482.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.1143, allocations: 0.8197 MB / 483.4 MB, free: 140 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.1148, allocations: 474.1 kB / 483.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.1153, allocations: 0.603 MB / 484.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.1155, allocations: 96 kB / 484.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.1161, allocations: 275.8 kB / 484.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.1163, allocations: 243 kB / 485.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.1167, allocations: 0.5558 MB / 485.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.118, allocations: 1.444 MB / 487.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.118, allocations: 0 / 487.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1181, allocations: 0 / 487.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1181, allocations: 0 / 487.1 MB, free: 12.46 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.003911/0.122, allocations: 1.682 MB / 488.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1221, allocations: 8.031 kB / 488.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.1223, allocations: 181.8 kB / 488.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009724/0.132, allocations: 1.319 MB / 490.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.1329, allocations: 0.5371 MB / 490.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.133, allocations: 86.41 kB / 490.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.1332, allocations: 119.9 kB / 491 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.1352, allocations: 1.145 MB / 492.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.1353, allocations: 4 kB / 492.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.1354, allocations: 48 kB / 492.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1354, allocations: 28 kB / 492.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.1376, allocations: 1.376 MB / 493.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007124/0.1448, allocations: 4.676 MB / 498.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.1465, allocations: 0.9224 MB / 499.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.1471, allocations: 371.7 kB / 499.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.1472, allocations: 106.1 kB / 499.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1473, allocations: 47.5 kB / 499.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/0.1473, allocations: 0 / 499.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.002181/0.1495, allocations: 1.191 MB / 0.4892 GB, free: 14.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1495, allocations: 64.41 kB / 0.4892 GB, free: 14.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.1504, allocations: 0.7815 MB / 0.49 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.1505, allocations: 41.7 kB / 0.49 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.1507, allocations: 459 kB / 0.4905 GB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.151, allocations: 299.6 kB / 0.4907 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.1513, allocations: 190.9 kB / 0.4909 GB, free: 12.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1514, allocations: 390.7 kB / 0.4913 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.152, allocations: 338.5 kB / 0.4916 GB, free: 11.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.1528, allocations: 0.5622 MB / 0.4922 GB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.1541, allocations: 0.9231 MB / 0.4931 GB, free: 9.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1541, allocations: 4 kB / 0.4931 GB, free: 9.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002033/0.1562, allocations: 1.123 MB / 0.4942 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1562, allocations: 8 kB / 0.4942 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.1562, allocations: 8 kB / 0.4942 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.1566, allocations: 66.14 kB / 0.4943 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.1575, allocations: 251.6 kB / 0.4945 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.1597, allocations: 2.828 MB / 0.4973 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.1607, allocations: 146.5 kB / 0.4974 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/0.1608, allocations: 43.98 kB / 0.4974 GB, free: 5.078 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.0004414/0.1612, allocations: 245.5 kB / 0.4977 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.1614, allocations: 82.97 kB / 0.4978 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.1633, allocations: 1.102 MB / 0.4988 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1633, allocations: 8 kB / 0.4988 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1633, allocations: 4 kB / 0.4988 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.1633, allocations: 7.984 kB / 0.4988 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.167, allocations: 2.687 MB / 0.5015 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.167, allocations: 4 kB / 0.5015 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.1677, allocations: 188.4 kB / 0.5017 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.1679, allocations: 65.61 kB / 0.5017 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.168, allocations: 24 kB / 0.5017 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1832/0.3513, allocations: 2.82 MB / 0.5045 GB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.3513, allocations: 6.75 kB / 0.5045 GB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.3535, allocations: 1.458 MB / 0.5059 GB, free: 44.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.3537, allocations: 198.9 kB / 0.5061 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.3539, allocations: 24.33 kB / 0.5061 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.3545, allocations: 55.12 kB / 0.5062 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3547, allocations: 76.5 kB / 0.5063 GB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.3547, allocations: 43.12 kB / 0.5063 GB, free: 44.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006826/0.3554, allocations: 0.5535 MB / 0.5068 GB, free: 44.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3554, allocations: 0 / 0.5068 GB, free: 44.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008679/0.3563, allocations: 287.3 kB / 0.5071 GB, free: 44.62 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.002236/0.3585, allocations: 2.073 MB / 0.5091 GB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.3605, allocations: 1.091 MB / 0.5102 GB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.3606, allocations: 1.188 kB / 0.5102 GB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.3614, allocations: 0.6214 MB / 0.5108 GB, free: 42.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.3622, allocations: 116.7 kB / 0.5109 GB, free: 42.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.3726, allocations: 8.67 MB / 0.5194 GB, free: 36.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3731, allocations: 0.9887 MB / 0.5204 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006622/0.3738, allocations: 154.3 kB / 0.5205 GB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.3742, allocations: 355.2 kB / 0.5208 GB, free: 35.86 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3742, allocations: 0 / 0.5208 GB, free: 35.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.4115, allocations: 18.59 MB / 0.539 GB, free: 24.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.3, allocations: 12.97 kB / 0.539 GB, free: 24.55 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