Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 46.93 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 71.83 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3696, allocations: 66.03 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01007/0.3797, allocations: 7.55 MB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.3845, allocations: 2.373 MB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.3852, allocations: 27.94 kB / 0.5711 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.3893, allocations: 1.761 MB / 0.5729 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.3919, allocations: 0.6984 MB / 0.5735 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.394, allocations: 0.7605 MB / 0.5743 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.3961, allocations: 1.253 MB / 0.5755 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.3976, allocations: 0.8711 MB / 0.5764 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3988, allocations: 0.5253 MB / 0.5769 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.4002, allocations: 0.6614 MB / 0.5775 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.4006, allocations: 108 kB / 0.5776 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4019, allocations: 299.8 kB / 0.5779 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.4023, allocations: 271 kB / 0.5782 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.4033, allocations: 0.6102 MB / 0.5788 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.4065, allocations: 1.611 MB / 0.5803 GB, free: 1.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4065, allocations: 4 kB / 0.5803 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4065, allocations: 0 / 0.5803 GB, free: 1.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.688e-05/0.4065, allocations: 3.984 kB / 0.5803 GB, free: 1.016 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.005468/0.412, allocations: 1.754 MB / 0.582 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.4121, allocations: 12.03 kB / 0.5821 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.146e-05/0.4121, allocations: 38.78 kB / 0.5821 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.4124, allocations: 202.7 kB / 0.5823 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009174/0.4216, allocations: 1.268 MB / 0.5835 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4227, allocations: 0.5002 MB / 0.584 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.4229, allocations: 102.8 kB / 0.5841 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.4231, allocations: 135.9 kB / 0.5842 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.4258, allocations: 1.253 MB / 0.5855 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.4259, allocations: 4 kB / 0.5855 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.426, allocations: 59.94 kB / 0.5855 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.4261, allocations: 32 kB / 0.5856 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.429, allocations: 1.455 MB / 0.587 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009522/0.4385, allocations: 4.201 MB / 0.5911 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.4405, allocations: 0.8219 MB / 0.5919 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.4413, allocations: 332.2 kB / 0.5922 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4414, allocations: 40.94 kB / 0.5922 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.4414, allocations: 47.56 kB / 0.5923 GB, free: 4.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 4.568e-06/0.4414, allocations: 0 / 0.5923 GB, free: 4.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002525/0.444, allocations: 1.052 MB / 0.5933 GB, free: 3.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.444, allocations: 68.41 kB / 0.5934 GB, free: 3.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.4453, allocations: 0.8286 MB / 0.5942 GB, free: 2.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.4453, allocations: 41.7 kB / 0.5942 GB, free: 2.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.4458, allocations: 0.5117 MB / 0.5947 GB, free: 2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.4461, allocations: 325.2 kB / 0.595 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.4464, allocations: 198.8 kB / 0.5952 GB, free: 1.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.4467, allocations: 398.7 kB / 0.5956 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.4474, allocations: 358.4 kB / 0.5959 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4484, allocations: 0.6192 MB / 0.5966 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.4501, allocations: 0.9913 MB / 0.5975 GB, free: 14.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.4501, allocations: 8 kB / 0.5975 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002409/0.4525, allocations: 1.197 MB / 0.5987 GB, free: 13.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4525, allocations: 12 kB / 0.5987 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4525, allocations: 8 kB / 0.5987 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.4529, allocations: 66.31 kB / 0.5988 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4539, allocations: 267.5 kB / 0.599 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.4564, allocations: 2.614 MB / 0.6016 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.4574, allocations: 162.7 kB / 0.6017 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.4575, allocations: 47.98 kB / 0.6018 GB, free: 10.27 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.00047/0.4579, allocations: 261.6 kB / 0.602 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.4581, allocations: 99.33 kB / 0.6021 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.4603, allocations: 1.099 MB / 0.6032 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4603, allocations: 8 kB / 0.6032 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4603, allocations: 4 kB / 0.6032 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4603, allocations: 11.91 kB / 0.6032 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.465, allocations: 2.395 MB / 0.6056 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.465, allocations: 11.94 kB / 0.6056 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/0.4658, allocations: 179.8 kB / 0.6058 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.4661, allocations: 70.33 kB / 0.6058 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.4661, allocations: 28 kB / 0.6058 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.4687, allocations: 2.614 MB / 0.6084 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.4687, allocations: 8 kB / 0.6084 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.4716, allocations: 1.497 MB / 0.6099 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.472, allocations: 119.2 kB / 0.61 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.4722, allocations: 31.94 kB / 0.61 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.4731, allocations: 51.92 kB / 0.6101 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.4732, allocations: 84.47 kB / 0.6101 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.4733, allocations: 31.98 kB / 0.6102 GB, free: 1.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009388/0.4743, allocations: 0.5771 MB / 0.6107 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4743, allocations: 0 / 0.6107 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001296/0.4756, allocations: 315.6 kB / 0.611 GB, free: 300 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.003407/0.479, allocations: 2.087 MB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.4811, allocations: 1.052 MB / 0.6141 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.4811, allocations: 8.062 kB / 0.6141 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4822, allocations: 0.5881 MB / 0.6147 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.4832, allocations: 131.2 kB / 0.6148 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.498, allocations: 8.479 MB / 0.6231 GB, free: 3.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.4988, allocations: 1.012 MB / 0.6241 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00062/0.4994, allocations: 159.7 kB / 0.6242 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.5, allocations: 387.3 kB / 0.6246 GB, free: 1.707 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5, allocations: 0 / 0.6246 GB, free: 1.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08758/0.5876, allocations: 20.72 MB / 0.6448 GB, free: 13.19 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.9, allocations: 2.344 kB / 0.6448 GB, free: 13.19 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.686893837992102]