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.001428/0.001428, allocations: 113 kB / 18.49 MB, free: 4.539 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.001502/0.001502, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2353/0.2353, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.002009/0.002009, allocations: 63.89 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 65.43 MB / 0.5524 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008827/0.1436, allocations: 6.989 MB / 0.5593 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.1481, allocations: 2.272 MB / 0.5615 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/0.1487, allocations: 23.94 kB / 0.5615 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.1525, allocations: 1.531 MB / 0.563 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.1548, allocations: 0.6874 MB / 0.5637 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.1566, allocations: 0.7165 MB / 0.5644 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.1583, allocations: 1.148 MB / 0.5655 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.1594, allocations: 0.6168 MB / 0.5661 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006929/0.1601, allocations: 494.1 kB / 0.5666 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007316/0.1608, allocations: 0.603 MB / 0.5672 GB, free: 11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.161, allocations: 96 kB / 0.5672 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.1616, allocations: 291.8 kB / 0.5675 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1618, allocations: 247 kB / 0.5678 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.1624, allocations: 0.5596 MB / 0.5683 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.1644, allocations: 1.463 MB / 0.5697 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1644, allocations: 7.938 kB / 0.5697 GB, free: 8.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1644, allocations: 0 / 0.5697 GB, free: 8.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.1645, allocations: 4 kB / 0.5697 GB, free: 8.336 MB / 430.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.004477/0.1689, allocations: 1.703 MB / 0.5714 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.169, allocations: 8.031 kB / 0.5714 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.159e-05/0.169, allocations: 34.59 kB / 0.5714 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.1692, allocations: 177.8 kB / 0.5716 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009762/0.179, allocations: 1.261 MB / 0.5728 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1803, allocations: 0.5487 MB / 0.5734 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.1804, allocations: 94.34 kB / 0.5735 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.1806, allocations: 120 kB / 0.5736 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.1829, allocations: 1.145 MB / 0.5747 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.1829, allocations: 4 kB / 0.5747 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.183, allocations: 48 kB / 0.5748 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.1831, allocations: 32 kB / 0.5748 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.1856, allocations: 1.38 MB / 0.5761 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009312/0.1949, allocations: 5.462 MB / 0.5815 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.1968, allocations: 0.8838 MB / 0.5823 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.1974, allocations: 333.9 kB / 0.5827 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.1977, allocations: 191.2 kB / 0.5828 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.1977, allocations: 51.44 kB / 0.5829 GB, free: 10.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=89): time 2.815e-06/0.1977, allocations: 0 / 0.5829 GB, free: 10.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.00267/0.2004, allocations: 1.199 MB / 0.5841 GB, free: 8.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.2004, allocations: 60.41 kB / 0.5841 GB, free: 8.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.2016, allocations: 0.7855 MB / 0.5849 GB, free: 8.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.2017, allocations: 41.7 kB / 0.5849 GB, free: 8.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.2021, allocations: 476.2 kB / 0.5854 GB, free: 7.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.2024, allocations: 317.3 kB / 0.5857 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.2027, allocations: 194.8 kB / 0.5859 GB, free: 7.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.2029, allocations: 398.7 kB / 0.5862 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.2036, allocations: 334.5 kB / 0.5866 GB, free: 6.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/0.2045, allocations: 0.57 MB / 0.5871 GB, free: 5.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.2061, allocations: 0.927 MB / 0.588 GB, free: 4.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2061, allocations: 0 / 0.588 GB, free: 4.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002183/0.2082, allocations: 1.143 MB / 0.5891 GB, free: 3.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2083, allocations: 8 kB / 0.5891 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2083, allocations: 4.719 kB / 0.5891 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.2086, allocations: 69.67 kB / 0.5892 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.2096, allocations: 251.6 kB / 0.5895 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.2121, allocations: 2.82 MB / 0.5922 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2792/0.4914, allocations: 144.8 kB / 0.5923 GB, free: 37.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.4916, allocations: 47.81 kB / 0.5924 GB, free: 37.46 MB / 446.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.000518/0.4921, allocations: 246.5 kB / 0.5926 GB, free: 37.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.4923, allocations: 91.42 kB / 0.5927 GB, free: 37.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.4946, allocations: 1.092 MB / 0.5938 GB, free: 37.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4946, allocations: 10.64 kB / 0.5938 GB, free: 37.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4946, allocations: 0.75 kB / 0.5938 GB, free: 37.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.4947, allocations: 5.344 kB / 0.5938 GB, free: 37.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.499, allocations: 3.118 MB / 0.5968 GB, free: 35.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.4991, allocations: 11.14 kB / 0.5969 GB, free: 35.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.4998, allocations: 178.2 kB / 0.597 GB, free: 35.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.5001, allocations: 61.17 kB / 0.5971 GB, free: 35.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.5002, allocations: 27.95 kB / 0.5971 GB, free: 35.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.5019, allocations: 2.828 MB / 0.5999 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.5019, allocations: 12.06 kB / 0.5999 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.5045, allocations: 1.47 MB / 0.6013 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.5048, allocations: 195.2 kB / 0.6015 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.5049, allocations: 26.98 kB / 0.6015 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.5056, allocations: 55.31 kB / 0.6016 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.5058, allocations: 83.88 kB / 0.6017 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.5058, allocations: 33.33 kB / 0.6017 GB, free: 31.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000942/0.5068, allocations: 0.5572 MB / 0.6022 GB, free: 31.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5068, allocations: 0.75 kB / 0.6022 GB, free: 31.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001334/0.5081, allocations: 287.3 kB / 0.6025 GB, free: 31.46 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.002933/0.5111, allocations: 2.074 MB / 0.6045 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.5132, allocations: 1.028 MB / 0.6055 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.5132, allocations: 6.812 kB / 0.6055 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009383/0.5141, allocations: 0.5882 MB / 0.6061 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.515, allocations: 125.2 kB / 0.6062 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.528, allocations: 8.085 MB / 0.6141 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.5286, allocations: 0.9925 MB / 0.6151 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006356/0.5293, allocations: 146 kB / 0.6152 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/0.5298, allocations: 358.1 kB / 0.6156 GB, free: 23.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5298, allocations: 4 kB / 0.6156 GB, free: 23.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07812/0.6079, allocations: 19.25 MB / 0.6344 GB, free: 12.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.6, allocations: 8.062 kB / 0.6344 GB, free: 12.69 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.257970191014465]