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.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.001952/0.001952, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.00207/0.00207, allocations: 214.4 kB / 24.51 MB, free: 3.688 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.93 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3299, allocations: 65.48 MB / 0.5577 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008101/0.338, allocations: 6.115 MB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.343, allocations: 2.124 MB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007841/0.3438, allocations: 23.94 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003571/0.3474, allocations: 1.415 MB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.3494, allocations: 0.6832 MB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.3511, allocations: 0.6732 MB / 0.5685 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.3526, allocations: 1.159 MB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.3538, allocations: 0.7685 MB / 0.5704 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.3545, allocations: 482.2 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.3552, allocations: 0.6068 MB / 0.5714 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.3553, allocations: 92 kB / 0.5715 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.356, allocations: 287.8 kB / 0.5718 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.3563, allocations: 247 kB / 0.572 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.3568, allocations: 461.8 kB / 0.5725 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.3588, allocations: 1.475 MB / 0.5739 GB, free: 6.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3588, allocations: 4 kB / 0.5739 GB, free: 6.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3588, allocations: 3.938 kB / 0.5739 GB, free: 6.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.3588, allocations: 0 / 0.5739 GB, free: 6.848 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004258/0.363, allocations: 1.636 MB / 0.5755 GB, free: 5.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3631, allocations: 8.031 kB / 0.5755 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.679e-05/0.3631, allocations: 30.59 kB / 0.5756 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.3634, allocations: 177.8 kB / 0.5757 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009633/0.373, allocations: 1.265 MB / 0.577 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3742, allocations: 487.7 kB / 0.5774 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.3742, allocations: 90.41 kB / 0.5775 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.3745, allocations: 127.9 kB / 0.5776 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.3769, allocations: 1.328 MB / 0.5789 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.3769, allocations: 7.938 kB / 0.5789 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.377, allocations: 48 kB / 0.579 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.3771, allocations: 28 kB / 0.579 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.3795, allocations: 1.38 MB / 0.5804 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007708/0.3872, allocations: 3.549 MB / 0.5838 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.3891, allocations: 0.7999 MB / 0.5846 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.3897, allocations: 333.9 kB / 0.5849 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3899, allocations: 28.97 kB / 0.585 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.3899, allocations: 51.5 kB / 0.585 GB, free: 11.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.937e-06/0.3899, allocations: 0 / 0.585 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002448/0.3924, allocations: 1.048 MB / 0.586 GB, free: 10.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3924, allocations: 60.41 kB / 0.5861 GB, free: 10.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3935, allocations: 0.7894 MB / 0.5869 GB, free: 9.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.3936, allocations: 37.7 kB / 0.5869 GB, free: 9.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.394, allocations: 472.2 kB / 0.5873 GB, free: 8.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.3943, allocations: 321.3 kB / 0.5877 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.3946, allocations: 190.8 kB / 0.5878 GB, free: 8.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3949, allocations: 402.7 kB / 0.5882 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.3955, allocations: 330.5 kB / 0.5885 GB, free: 7.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.3964, allocations: 0.5739 MB / 0.5891 GB, free: 6.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.3979, allocations: 0.9348 MB / 0.59 GB, free: 5.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3979, allocations: 0 / 0.59 GB, free: 5.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002226/0.4001, allocations: 1.139 MB / 0.5911 GB, free: 4.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.4002, allocations: 8 kB / 0.5911 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4002, allocations: 4 kB / 0.5911 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.4005, allocations: 66.39 kB / 0.5912 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4015, allocations: 251.6 kB / 0.5914 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.404, allocations: 2.625 MB / 0.594 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/0.4049, allocations: 146.8 kB / 0.5941 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.405, allocations: 47.98 kB / 0.5942 GB, free: 1.336 MB / 430.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.0004281/0.4054, allocations: 248.5 kB / 0.5944 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.4056, allocations: 95.39 kB / 0.5945 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.4077, allocations: 1.099 MB / 0.5956 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4077, allocations: 8 kB / 0.5956 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4077, allocations: 0 / 0.5956 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.4077, allocations: 7.984 kB / 0.5956 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.4115, allocations: 2.169 MB / 0.5977 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4115, allocations: 8 kB / 0.5977 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007619/0.4123, allocations: 175.7 kB / 0.5979 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.4125, allocations: 74.33 kB / 0.598 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.4126, allocations: 24 kB / 0.598 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.4149, allocations: 2.602 MB / 0.6005 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.4149, allocations: 12 kB / 0.6005 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.4174, allocations: 1.473 MB / 0.602 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4176, allocations: 123.2 kB / 0.6021 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.4178, allocations: 27.98 kB / 0.6021 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.4184, allocations: 47.97 kB / 0.6022 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4186, allocations: 88.28 kB / 0.6023 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.4186, allocations: 36 kB / 0.6023 GB, free: 8.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007678/0.4194, allocations: 0.5537 MB / 0.6028 GB, free: 7.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4194, allocations: 4 kB / 0.6028 GB, free: 7.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4204, allocations: 291.6 kB / 0.6031 GB, free: 7.691 MB / 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 (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.003109/0.4235, allocations: 2.083 MB / 0.6051 GB, free: 5.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.4257, allocations: 1.023 MB / 0.6061 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.4257, allocations: 0 / 0.6061 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4267, allocations: 0.5932 MB / 0.6067 GB, free: 3.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009616/0.4277, allocations: 115 kB / 0.6068 GB, free: 3.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.441, allocations: 8.084 MB / 0.6147 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.4415, allocations: 403.1 kB / 0.6151 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006051/0.4421, allocations: 147.4 kB / 0.6152 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.4426, allocations: 363.3 kB / 0.6156 GB, free: 10.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4427, allocations: 0 / 0.6156 GB, free: 10.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05831/0.501, allocations: 20.25 MB / 0.6354 GB, free: 6.312 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.19, allocations: 14.95 kB / 0.6354 GB, free: 6.301 MB / 478.1 MB " [Timeout remaining time 646] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.783475358970463]