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.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001678/0.001678, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2274/0.2274, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.84 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3567, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009156/0.3659, allocations: 6.592 MB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.3709, allocations: 2.21 MB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.372, allocations: 27.94 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004453/0.3764, allocations: 1.625 MB / 0.5708 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.3792, allocations: 0.6951 MB / 0.5715 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.3814, allocations: 0.7064 MB / 0.5722 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.3838, allocations: 1.245 MB / 0.5734 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.3857, allocations: 0.8593 MB / 0.5742 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.3869, allocations: 0.5215 MB / 0.5747 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.3881, allocations: 0.591 MB / 0.5753 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.3883, allocations: 104 kB / 0.5754 GB, free: 5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008995/0.3892, allocations: 295.8 kB / 0.5757 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.3895, allocations: 282.8 kB / 0.576 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.3901, allocations: 0.4899 MB / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.3925, allocations: 1.618 MB / 0.578 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3925, allocations: 0 / 0.578 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.64e-06/0.3925, allocations: 3.984 kB / 0.578 GB, free: 2.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.3926, allocations: 0 / 0.578 GB, free: 2.312 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.004869/0.3974, allocations: 1.757 MB / 0.5797 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3975, allocations: 8.031 kB / 0.5798 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/0.3977, allocations: 194.7 kB / 0.5799 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00935/0.4071, allocations: 1.268 MB / 0.5812 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.4085, allocations: 0.5118 MB / 0.5817 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.53e-05/0.4086, allocations: 99.03 kB / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.4088, allocations: 143.9 kB / 0.5819 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.4114, allocations: 1.421 MB / 0.5833 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.4114, allocations: 4 kB / 0.5833 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.4115, allocations: 56 kB / 0.5834 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.4116, allocations: 32 kB / 0.5834 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.4142, allocations: 1.439 MB / 0.5848 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007998/0.4222, allocations: 3.858 MB / 0.5886 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.424, allocations: 0.8178 MB / 0.5894 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.4246, allocations: 332.2 kB / 0.5897 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.4247, allocations: 32.97 kB / 0.5897 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.4247, allocations: 43.56 kB / 0.5897 GB, free: 6.047 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.765e-06/0.4247, allocations: 4 kB / 0.5898 GB, free: 6.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002367/0.4271, allocations: 1.056 MB / 0.5908 GB, free: 4.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.4272, allocations: 60.41 kB / 0.5908 GB, free: 4.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.4283, allocations: 0.848 MB / 0.5917 GB, free: 4.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.4284, allocations: 45.64 kB / 0.5917 GB, free: 3.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.4288, allocations: 0.5117 MB / 0.5922 GB, free: 3.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.429, allocations: 321.3 kB / 0.5925 GB, free: 3.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.4294, allocations: 202.8 kB / 0.5927 GB, free: 2.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.4296, allocations: 402.7 kB / 0.5931 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.4303, allocations: 350.5 kB / 0.5934 GB, free: 2.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/0.4312, allocations: 0.6231 MB / 0.594 GB, free: 1.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.4328, allocations: 0.9875 MB / 0.595 GB, free: 380 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.4328, allocations: 4 kB / 0.595 GB, free: 376 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002316/0.4351, allocations: 1.198 MB / 0.5962 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4351, allocations: 11.94 kB / 0.5962 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4351, allocations: 8 kB / 0.5962 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/0.4354, allocations: 69.61 kB / 0.5963 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4365, allocations: 263.6 kB / 0.5965 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.4389, allocations: 2.613 MB / 0.5991 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.4398, allocations: 154.8 kB / 0.5992 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.4399, allocations: 55.98 kB / 0.5993 GB, free: 11.75 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.0004802/0.4404, allocations: 265.7 kB / 0.5995 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.4406, allocations: 99.33 kB / 0.5996 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4426, allocations: 1.103 MB / 0.6007 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.4427, allocations: 8 kB / 0.6007 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4427, allocations: 4 kB / 0.6007 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4427, allocations: 3.984 kB / 0.6007 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.4467, allocations: 2.224 MB / 0.6029 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.4467, allocations: 12.16 kB / 0.6029 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.4475, allocations: 179.7 kB / 0.6031 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.4477, allocations: 57.67 kB / 0.6031 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.4478, allocations: 28 kB / 0.6031 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.4501, allocations: 2.613 MB / 0.6057 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.4501, allocations: 7.938 kB / 0.6057 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4527, allocations: 1.486 MB / 0.6072 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.4531, allocations: 127.1 kB / 0.6073 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4532, allocations: 24 kB / 0.6073 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.4539, allocations: 59.97 kB / 0.6074 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.454, allocations: 80.41 kB / 0.6074 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.4541, allocations: 35.98 kB / 0.6075 GB, free: 2.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008276/0.4549, allocations: 0.5771 MB / 0.608 GB, free: 2.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4549, allocations: 0 / 0.608 GB, free: 2.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001058/0.456, allocations: 311.6 kB / 0.6083 GB, free: 1.969 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 (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.003015/0.459, allocations: 2.087 MB / 0.6104 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.4612, allocations: 1.055 MB / 0.6114 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.4612, allocations: 0 / 0.6114 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009983/0.4622, allocations: 0.5921 MB / 0.612 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.4631, allocations: 135.1 kB / 0.6121 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.4769, allocations: 8.466 MB / 0.6204 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.4774, allocations: 424.3 kB / 0.6208 GB, free: 4.523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000621/0.478, allocations: 155.8 kB / 0.6209 GB, free: 4.367 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.4786, allocations: 391.3 kB / 0.6213 GB, free: 3.984 MB / 462.1 MB Notification: Performance of SimCode: time 2.224e-06/0.4786, allocations: 0 / 0.6213 GB, free: 3.984 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06492/0.5435, allocations: 21.15 MB / 0.642 GB, free: 15.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.95, allocations: 7.438 kB / 0.642 GB, free: 15.08 MB / 494.1 MB " [Timeout remaining time 647] (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: 16.239582813810557]