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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002049/0.002049, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002921/0.002921, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2466/0.2466, allocations: 46.92 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 79.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3495, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009949/0.3594, allocations: 7.55 MB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.365, allocations: 2.385 MB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.3661, allocations: 27.94 kB / 0.5705 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.3708, allocations: 1.749 MB / 0.5722 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.3734, allocations: 0.71 MB / 0.5729 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.3756, allocations: 0.7487 MB / 0.5736 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.3781, allocations: 1.249 MB / 0.5748 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.3801, allocations: 0.8789 MB / 0.5757 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.3812, allocations: 0.5176 MB / 0.5762 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.3825, allocations: 0.6769 MB / 0.5768 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.3828, allocations: 104 kB / 0.5769 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.3839, allocations: 299.8 kB / 0.5772 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.3842, allocations: 267 kB / 0.5775 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.3853, allocations: 0.6063 MB / 0.5781 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.3881, allocations: 1.611 MB / 0.5796 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3881, allocations: 0 / 0.5796 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3881, allocations: 3.938 kB / 0.5796 GB, free: 0.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.277e-05/0.3882, allocations: 8 kB / 0.5796 GB, free: 0.8242 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005672/0.3939, allocations: 1.753 MB / 0.5814 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3939, allocations: 12.03 kB / 0.5814 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003895/0.3943, allocations: 198.7 kB / 0.5816 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009194/0.4035, allocations: 1.272 MB / 0.5828 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.405, allocations: 0.5002 MB / 0.5833 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4051, allocations: 99.03 kB / 0.5834 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/0.4055, allocations: 139.9 kB / 0.5835 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.4083, allocations: 1.249 MB / 0.5847 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.4084, allocations: 4 kB / 0.5847 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4085, allocations: 56 kB / 0.5848 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.4085, allocations: 35.94 kB / 0.5848 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.411, allocations: 1.463 MB / 0.5863 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008513/0.4195, allocations: 4.193 MB / 0.5904 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.4214, allocations: 0.827 MB / 0.5912 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.4219, allocations: 334.4 kB / 0.5915 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.4221, allocations: 32.95 kB / 0.5915 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.4221, allocations: 43.56 kB / 0.5916 GB, free: 4.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.544e-06/0.4221, allocations: 4 kB / 0.5916 GB, free: 4.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002311/0.4244, allocations: 1.064 MB / 0.5926 GB, free: 3.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.4244, allocations: 60.41 kB / 0.5927 GB, free: 3.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4255, allocations: 0.8286 MB / 0.5935 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/0.4256, allocations: 45.7 kB / 0.5935 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.426, allocations: 0.5117 MB / 0.594 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.4262, allocations: 325.2 kB / 0.5943 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.4266, allocations: 202.8 kB / 0.5945 GB, free: 1.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.4268, allocations: 394.7 kB / 0.5949 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.4274, allocations: 350.5 kB / 0.5952 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.4283, allocations: 0.623 MB / 0.5958 GB, free: 15.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.4298, allocations: 0.9953 MB / 0.5968 GB, free: 14.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4299, allocations: 4 kB / 0.5968 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002136/0.432, allocations: 1.194 MB / 0.598 GB, free: 13.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.432, allocations: 11.94 kB / 0.598 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.432, allocations: 8 kB / 0.598 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.4323, allocations: 69.67 kB / 0.5981 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4333, allocations: 263.8 kB / 0.5983 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.4356, allocations: 2.617 MB / 0.6009 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009071/0.4365, allocations: 158.7 kB / 0.601 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-05/0.4366, allocations: 51.98 kB / 0.6011 GB, free: 10.12 MB / 446.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.0004475/0.437, allocations: 265.6 kB / 0.6013 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4372, allocations: 99.33 kB / 0.6014 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.4392, allocations: 1.099 MB / 0.6025 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4392, allocations: 8 kB / 0.6025 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4392, allocations: 0 / 0.6025 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4392, allocations: 3.984 kB / 0.6025 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.4432, allocations: 2.407 MB / 0.6048 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4432, allocations: 4 kB / 0.6049 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.444, allocations: 183.7 kB / 0.605 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.4442, allocations: 65.67 kB / 0.6051 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.4443, allocations: 27.98 kB / 0.6051 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.4465, allocations: 2.615 MB / 0.6077 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.4465, allocations: 7.938 kB / 0.6077 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.449, allocations: 1.493 MB / 0.6091 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.4493, allocations: 123.1 kB / 0.6093 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.4495, allocations: 27.95 kB / 0.6093 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.4502, allocations: 55.97 kB / 0.6093 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4504, allocations: 88.34 kB / 0.6094 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.138e-05/0.4505, allocations: 39.98 kB / 0.6095 GB, free: 1.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008762/0.4513, allocations: 0.5771 MB / 0.61 GB, free: 456 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4513, allocations: 0 / 0.61 GB, free: 456 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.00116/0.4525, allocations: 307.6 kB / 0.6103 GB, free: 148 kB / 446.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.003146/0.4556, allocations: 2.091 MB / 0.6124 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.4577, allocations: 1.055 MB / 0.6134 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.4577, allocations: 0 / 0.6134 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009629/0.4586, allocations: 0.5915 MB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.4595, allocations: 127 kB / 0.6141 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.4727, allocations: 8.479 MB / 0.6224 GB, free: 3.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.4734, allocations: 1.012 MB / 0.6234 GB, free: 2.098 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005624/0.474, allocations: 155.8 kB / 0.6235 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/0.4746, allocations: 383.3 kB / 0.6239 GB, free: 1.566 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4746, allocations: 0 / 0.6239 GB, free: 1.566 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/0.543, allocations: 20.69 MB / 0.6441 GB, free: 13.03 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.77, allocations: 12.05 kB / 0.6441 GB, free: 13.02 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.238025039900094]