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.001507/0.001507, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1954/0.1954, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 86.86 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09279, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007891/0.1007, allocations: 7.487 MB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.1044, allocations: 2.361 MB / 490 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.1048, allocations: 27.94 kB / 490 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.1082, allocations: 1.742 MB / 491.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.1096, allocations: 0.6943 MB / 492.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.111, allocations: 0.7545 MB / 493.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009732/0.1119, allocations: 1.237 MB / 494.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.113, allocations: 0.9378 MB / 495.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.1136, allocations: 0.5097 MB / 495.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006704/0.1143, allocations: 0.6653 MB / 496.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.1144, allocations: 104 kB / 496.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.115, allocations: 303.8 kB / 496.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.1152, allocations: 282.8 kB / 497.2 MB, free: 4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.1157, allocations: 0.6025 MB / 497.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.1172, allocations: 1.581 MB / 499.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1172, allocations: 0 / 499.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1172, allocations: 0 / 499.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.1173, allocations: 0 / 499.4 MB, free: 1.809 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.004339/0.1216, allocations: 1.804 MB / 0.4895 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1217, allocations: 12.03 kB / 0.4895 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/0.122, allocations: 198.6 kB / 0.4897 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.1321, allocations: 1.326 MB / 0.491 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.1331, allocations: 0.5607 MB / 0.4915 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.1332, allocations: 95.03 kB / 0.4916 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.1334, allocations: 143.8 kB / 0.4917 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1358, allocations: 1.234 MB / 0.4929 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.1358, allocations: 4 kB / 0.4929 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.136, allocations: 56 kB / 0.493 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.136, allocations: 32 kB / 0.493 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.1384, allocations: 1.455 MB / 0.4944 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008314/0.1467, allocations: 5.827 MB / 0.5001 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.1485, allocations: 0.9564 MB / 0.5011 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.1491, allocations: 367.7 kB / 0.5014 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.1493, allocations: 183.2 kB / 0.5016 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1493, allocations: 51.5 kB / 0.5016 GB, free: 2.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=90): time 2.435e-06/0.1493, allocations: 4 kB / 0.5017 GB, free: 2.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=90): time 0.002128/0.1515, allocations: 1.194 MB / 0.5028 GB, free: 1.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.1515, allocations: 60.41 kB / 0.5029 GB, free: 1.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/0.1524, allocations: 0.8363 MB / 0.5037 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.1525, allocations: 41.7 kB / 0.5037 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.1528, allocations: 0.4908 MB / 0.5042 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1607/0.3135, allocations: 310.2 kB / 0.5045 GB, free: 40.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003883/0.3139, allocations: 197.6 kB / 0.5047 GB, free: 40.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3141, allocations: 396.2 kB / 0.5051 GB, free: 40.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.3148, allocations: 347.2 kB / 0.5054 GB, free: 40.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.3155, allocations: 0.6159 MB / 0.506 GB, free: 39.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.3167, allocations: 0.9928 MB / 0.507 GB, free: 39.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3168, allocations: 5.875 kB / 0.507 GB, free: 39.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002027/0.3188, allocations: 1.178 MB / 0.5081 GB, free: 39.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3188, allocations: 11.91 kB / 0.5081 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3188, allocations: 8.75 kB / 0.5081 GB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.3191, allocations: 68.69 kB / 0.5082 GB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.3202, allocations: 263.5 kB / 0.5085 GB, free: 39.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.3216, allocations: 2.819 MB / 0.5112 GB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.3225, allocations: 162.7 kB / 0.5114 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.3225, allocations: 48.28 kB / 0.5114 GB, free: 36.19 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.0003302/0.3229, allocations: 262.4 kB / 0.5117 GB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.323, allocations: 96.8 kB / 0.5118 GB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.3248, allocations: 1.102 MB / 0.5128 GB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3248, allocations: 14.3 kB / 0.5129 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3248, allocations: 3.875 kB / 0.5129 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3248, allocations: 6.109 kB / 0.5129 GB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.328, allocations: 3.151 MB / 0.5159 GB, free: 33.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.328, allocations: 5.375 kB / 0.5159 GB, free: 33.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/0.3287, allocations: 183.4 kB / 0.5161 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.3289, allocations: 59.12 kB / 0.5162 GB, free: 33.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.329, allocations: 24.88 kB / 0.5162 GB, free: 33.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.3304, allocations: 2.823 MB / 0.519 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.3304, allocations: 6.719 kB / 0.519 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.3323, allocations: 1.472 MB / 0.5204 GB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.3325, allocations: 206.7 kB / 0.5206 GB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3326, allocations: 26.92 kB / 0.5206 GB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.3333, allocations: 57.61 kB / 0.5207 GB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.3334, allocations: 84.64 kB / 0.5208 GB, free: 29.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.3335, allocations: 32.91 kB / 0.5208 GB, free: 29.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007339/0.3342, allocations: 0.5767 MB / 0.5214 GB, free: 28.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3342, allocations: 1.375 kB / 0.5214 GB, free: 28.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3353, allocations: 310.1 kB / 0.5217 GB, free: 28.75 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.002205/0.3375, allocations: 2.083 MB / 0.5237 GB, free: 27.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.3394, allocations: 1.129 MB / 0.5248 GB, free: 26.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3395, allocations: 1.156 kB / 0.5248 GB, free: 26.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.3402, allocations: 0.6177 MB / 0.5254 GB, free: 26.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/0.341, allocations: 127.5 kB / 0.5255 GB, free: 26.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.3511, allocations: 9.111 MB / 0.5344 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3516, allocations: 1.01 MB / 0.5354 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006452/0.3523, allocations: 161.2 kB / 0.5356 GB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.3527, allocations: 383.9 kB / 0.5359 GB, free: 19.49 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3527, allocations: 0 / 0.5359 GB, free: 19.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04067/0.3934, allocations: 19.37 MB / 0.5548 GB, free: 3.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.096/9.49, allocations: 13.84 kB / 0.5548 GB, free: 3.641 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